OpenSSL Software Foundation, Inc.

Similar documents
OpenSSL Software Foundation, Inc.

OpenSSL Software Foundation, Inc.

OpenSSL Software Foundation, Inc.

OpenSSL Software Foundation, Inc.

OpenSSL Software Foundation, Inc.

OpenSSL Software Foundation, Inc.

Formatting 1. Commands starting with $ are Linux console commands on the host PC:

Commands are in black

DIL/NetPC ADNP/1520 Board Revision 2.1 Installing an SSH Connection User Manual

User Manual. DIL/NetPC DNP/2110 Installing an SSH Connection

DIL/NetPC DNP/9200 Board Revision 1.1 Installing an SSH Connection User Manual

Cross-compilation with Buildroot

02. At the command prompt, type usermod -l bozo bozo2 and press Enter to change the login name for the user bozo2 back to bozo. => steps 03.

Installation of RedHawk on Jetson TX1, TX2 and TX2i Development Boards Release Notes

Communications Library Manual

Introduction to the shell Part II

Introduction to Linux (Part I) BUPT/QMUL 2018/03/14

Linux Essentials Objectives Topics:

GUT. GUT Installation Guide

User manual. Helsinki University of Technology T Software Development Project I

Linux Essentials. Programming and Data Structures Lab M Tech CS First Year, First Semester

Perl and R Scripting for Biologists

Unix/Linux Operating System. Introduction to Computational Statistics STAT 598G, Fall 2011

Raspberry Pi Network Boot

RSA Identity Governance and Lifecycle Connector Data Sheet for Ubuntu Linux

RSA Identity Governance and Lifecycle Connector Data Sheet for Debian Linux

GNU/Linux 101. Casey McLaughlin. Research Computing Center Spring Workshop Series 2018

Chapter-3. Introduction to Unix: Fundamental Commands

Gyrfalcon 2.0 User's Guide

Unzip command in unix

Overview LEARN. History of Linux Linux Architecture Linux File System Linux Access Linux Commands File Permission Editors Conclusion and Questions

Lab 2A> ADDING USERS in Linux

Welcome to getting started with Ubuntu Server. This System Administrator Manual. guide to be simple to follow, with step by step instructions

Filesystem Hierarchy Operating systems I800 Edmund Laugasson

Linux/Cygwin Practice Computer Architecture

Compiling Software on UNIX. System Administration Decal Spring 2009 Lecture #4 George Wu Slides prepared by Joshua Kwan

No Food or Drink in this room. Logon to Windows machine

The Scratchbox development environment

More Raspian. An editor Configuration files Shell scripts Shell variables System admin

Downloaded from: justpaste.it/o09s

Aliases are set manually or in a login script. Aliases that were set manually will be gone the next time you login.

Itron Riva Dev Software Development Getting Started Guide

Project 3: An Introduction to File Systems. COP4610 Florida State University

Performing Administrative Tasks

Virtual Machine. Linux flavor : Debian. Everything (except slides) preinstalled for you.

Davide Cavaliere 18 th February 2017

Lab4 Embedded Linux. Introduction

CS 300 Data Structures

National University of Computer and Emerging Sciences Operating System Lab - 02 Lab Manual

Computer Systems and Architecture

UNIX. The Very 10 Short Howto for beginners. Soon-Hyung Yook. March 27, Soon-Hyung Yook UNIX March 27, / 29

Development Environment Embedded Linux Primer Ch 1&2

JRE version 1.1.6v5 (Java Runtime Environment) - please DO NOT get the JDK instead. This can be downloaded from

EE516: Embedded Software Project 1. Setting Up Environment for Projects

Jackson State University Department of Computer Science CSC / Computer Security Fall 2013 Instructor: Dr. Natarajan Meghanathan

ECE 471 Embedded Systems Lecture 10

QEMU and the Linux Kernel

Dell EMC ME4 Series vsphere Client Plug-in

Installation of RedHawk 6.5-r24.2 on the Jetson TX1 Development Board Release Notes. September 19 th, 2017

The Rockefeller University I NFORMATION T ECHNOLOGY E DUCATION & T RAINING. VPN Configuration Guide for Unix/Linux

Operating System. Hanyang University. Hyunmin Yoon Operating System Hanyang University

Scratchbox Remote Shell

Lab Working with Linux Command Line

Installing Scratchbox

BIOINFORMATICS POST-DIPLOMA PROGRAM SUBJECT OUTLINE Subject Title: OPERATING SYSTEMS AND PROJECT MANAGEMENT Subject Code: BIF713 Subject Description:

Lab 1: Accessing the Linux Operating System Spring 2009

Copyright 2018 VMware, Inc. All rights reserved. Copyright and trademark information.

Operating Systems Linux 1-2 Measurements Background material

GUT. GUT Installation Guide

Topics. Installation Basics of Using GNU/ Linux Administration Tools

Introduction in Unix. Linus Torvalds Ken Thompson & Dennis Ritchie

Introduction to UNIX/Linux

EKT332 COMPUTER NETWORK

Week 10 Project 3: An Introduction to File Systems. Classes COP4610 / CGS5765 Florida State University

Introduction to Unix: Fundamental Commands

RocketRAID 231x/230x SATA Controller Fedora Linux Installation Guide

Introduction. Overview of 201 Lab and Linux Tutorials. Stef Nychka. September 10, Department of Computing Science University of Alberta

Chapter Two. Lesson A. Objectives. Exploring the UNIX File System and File Security. Understanding Files and Directories

Brief Linux Presentation. July 10th, 2006 Elan Borenstein

Building RPMs for Native Application Hosting

3 Connection, Shell Serial Connection over Console Port SSH Connection Internet Connection... 5

StampA5D3x/PortuxA5/PanelA5. Quickstart Guide

Unix Tools / Command Line

14. Configuring Telnet in Knoppix

Integration Guide. SafeGuard CryptoServer PCI in Xen Environment Debian 5

Method of Procedure to Upgrade RMS OS to Red Hat Enterprise Linux 6.7

Introduction to UNIX command-line

CS 143A. Principles of Operating Systems. Instructor : Prof. Anton Burtsev

GENI Tutorial with tmix Derek O'Neill UNC Chapel Hill

Embedded Linux Systems. Bin Li Assistant Professor Dept. of Electrical, Computer and Biomedical Engineering University of Rhode Island

MA 511: Computer Programming Lecture 23 Partha Sarathi Mandal

Lab #1 Installing a System Due Friday, September 6, 2002

Read the relevant material in Sobell! If you want to follow along with the examples that follow, and you do, open a Linux terminal.

Part A: Setup your kernel development environment

CMPT 300. Operating Systems. Brief Intro to UNIX and C

Post Ubuntu Install Exercises

Secure SHell Explained!

Lecture # 2 Introduction to UNIX (Part 2)

Freescale FAE75 Training Genesi Pegasos II LinuxTraining. Maurie Ommerman June 10, 2004

UNIX COMMANDS AND SHELLS. UNIX Programming 2015 Fall by Euiseong Seo

Transcription:

OpenSSL Software Foundation, Inc 1829 Mount Ephraim Road Adamstown, MD 21710 USA +1 877 673 6775 support@opensslfoundationcom Instructions for CMVP Testing TS Linux on ARMv4 November 16, 2014 Table of Contents 1 Overview1 2 Inventory1 21 Hardware 1 22 Software2 3 Preparation2 4 Compilation and Testing4 42 Compilation on Target System4 43 Testing on Target Device5 1 Overview Platform testing instructions for the OpenSSL FIPS Object Module v20 validation This target device is a tabletop device with an ARMv4 processor running TS Linux 24 generic hardware (no picture) 2 Inventory 21 Hardware Hardware supplied by OSF: Build system: Generic x86 based "Lintel" system (target device): Dell PowerEdge R320 (VSI00280) Hardware supplied by test lab: N/A 1 of 6

22 Software Software supplied by OSF: Instructions for CMVP Testing Linux x86 no AES NI (all software should be installed in the same directory on Linux host system as described in the following section): the file openssl fips 209targz from http://opensslfoundationcom/testing/validation 20/source/ When all downloads are complete the TOP directory should contain the following files (as shown by the "ls l" command): openssl fips 209targz Software supplied by the test lab: The targz or zip file(s) containing a set of test vector request files 3 Preparation OSF preparation: On Ubuntu x86 build system host: Unpack customer suplied file hidglobal_qemu_vmtarbz2 bunzip2 c /mnt/tmp/hidglobal_qemu_vmtarbz2 tar xf apt get install qemu system apt get install rinetd # config 19216822240:2222 > 127001:5022 # start virtual build image qemu system arm M versatilepb kernel vmlinuz 2626 2 versatile initrd initrdimg 2626 2 versatile hda debian_lenny_arm_standardqcow2 append "root=/dev/sda1" m 256 redir tcp:5022::22 # log in via rinetd redirection from 222 lan ssh p 2222 root@19216822240 ( : root) On build image: mkdir /mnt/share mount 1921682221:/opt/share/ /mnt/share groupadd g 1003 fipstest 2 of 6

useradd u 1003 c "FIPS testing" g 1003 m fipstest passwd fipstest 3 of 6

4 Compilation and Testing All commands as typed on a client system used for remote access are bolded Commands as executed on the target device are bolded in blue You will be able to cut and paste from this document (fortunately, as some of these commands are fairly complex) We could script these commands more heavily but thought you might prefer to have full visibility For each set of commands in green, choose only one of the commands For remote access via the OSF testhub server: ssh fipstest@testhub1opensslfoundationcom Last login: Thu Dec 15 15:02:10 2011 from 4303837 fipstest@testhub1:~ cd /mnt/share/top ts linux fipstest@testhub1:/mnt/share/top ts linux From this point on the shell prompt "fipstest@testhub1:/mnt/share/top ts linux" is abbreviated as "" 42 Compilation on Target System Next log onto the virtual build system to create the test suite program: ssh p 2222 19216822240 fipstest@19216822240's password: fipstest Linux debian arm 2626 2 versatile #1 Mon Dec 13 09:50:01 GMT 2010 armv5tejl cd /mnt/osf/top ts linux Create the test suite program executable: gcc version gcc (Debian 432 11) 432 Copyright (C) 2008 Free Software Foundation, Inc This is free software; see the source for copying conditions There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE rm rf openssl fips 209 gunzip c openssl fips 209targz tar xf 4 of 6

cd openssl fips 209 /config no asm (lots of output) This is the OpenSSL FIPS 20 module make (lots of output) make build_algvs (several lines of output) cd file openssl fips 209/test/fips_algvs file openssl fips 205/test/fips_algvs openssl fips 209/test/fips_algvs: ELF 32 bit LSB executable, ARM, version 1, dynamically linked (uses shared libs), for GNU/Linux 2612, not stripped Log off of the build system (returning to testhub1), we do this because the virtual build system can't talk directly to the target device: exit logout Connection to 19216822240 closed Copy executable to target device from testhub1: scp openssl fips 209/test/fips_algvs root@192168222182:/tmp root@192168222182's password: root fips_algvs 43 Testing on Target Device Log on to the target device: ssh root@192168222182 root@192168222182's password: root BusyBox v100 rc2 (20040805 21:44+0000) Built in shell (ash) Enter 'help' for a list of built in commands 5 of 6

uname a Linux pam 2426 ts11 #3 Tue May 15 11:21:07 MST 2007 armv4l unknown cat /proc/cpuinfo Processor : Arm920Tid(wb) rev 0 (v4l) BogoMIPS : 9994 Features : swp half thumb Hardware : ep9301 Revision : 0000 Serial : 0000000000000000 cd /tmp /fips_algvs fips_test_suite FIPS mode test application FIPS 205 validated module 10 Apr 2013 DRBG AES 256 CTR DF test started DRBG AES 256 CTR DF test OK 1 Non Approved cryptographic operation test ECDSA key generation failed as expected Induced failure test completed with 0 errors successful as expected All tests completed with 0 errors exit logout Connection to 192168222182 closed The fips_test_suite program can be invoked with different command line options for the various demonstrations such as KAT corruption 6 of 6