21.03.2013 Views

Problem - Kevin Tafuro

Problem - Kevin Tafuro

Problem - Kevin Tafuro

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

EVP_CIPHER_CTX_set_padding( ), 227<br />

EVP_DecryptFinal_ex( ), 232<br />

EVP_DecryptInit( ), 223<br />

EVP_DecryptInit_ex( ), 222<br />

EVP_DigestFinal( ), 265<br />

EVP_EncryptFinal_ex( ), 231, 232<br />

EVP_EncryptInit( ), 223<br />

EVP_EncryptInit_ex( ), 222, 227<br />

EVP_EncryptUpdate( ), 231, 232<br />

EVP_get_cipherbyname( ), 223<br />

EVP_MD_CTX_size( ), 265<br />

exception handling, 700–704<br />

C++, 701<br />

XXL, compared to, 702–704<br />

C language, 702<br />

XXL library, 702<br />

exchange keys, 245<br />

exclusive locks, 59<br />

exec*( ) family of functions, 28–33<br />

executing external programs securely<br />

Unix, 28–33<br />

Windows, 33<br />

execv( ), 30<br />

execve( ), 25, 29, 30<br />

extKeyUsage extension, 562<br />

extracting raw key data from a CryptoAPI key<br />

object, 246–248<br />

F<br />

FascistCheck( ), 392<br />

fchmod( ), 56<br />

FD_*( ) family of macros, 112<br />

fd_set data type, 112<br />

Fergusen, Niels, 170<br />

file descriptors, 23–25<br />

closing of nonstandard descriptors, 25<br />

stdin, sdout, and stderr, 23<br />

file encryption, 213–217<br />

using LION, 214–217<br />

with initialization vectors or nonces, 213<br />

file information, accessing securely, 53<br />

filename validation, 97–99<br />

and path validation, 97<br />

files<br />

creating for temporary use, 65–68<br />

Unix, 66<br />

Windows, 66<br />

encryption of, 213–217<br />

using LION, 214–217<br />

with initialization vectors or<br />

nonces, 213<br />

erasing securely, 47<br />

746 | Index<br />

locking, 57–59<br />

for resource access<br />

synchronization, 60<br />

permission bits, 39–41<br />

setgid bit, 40<br />

setuid bit, 40<br />

sticky bit, 39<br />

filesystems, restricting access<br />

in BSD, 69<br />

in Unix, 68<br />

fingerprints, 503<br />

whitelist checks, using for, 544–547<br />

in CryptoAPI, 545<br />

in OpenSSL, 544<br />

FIPS 140 standards, 616<br />

FIPS 140-1 tests, 615–621<br />

continuous output test, 619–620<br />

power-up and on-demand tests, 617–619<br />

Long Runs test, 618<br />

Monobit test, 617<br />

Poker test, 617<br />

Runs test, 618<br />

FIPS 140-2 tests, 616<br />

fopen( ), 43, 56<br />

fork( ), 20, 26<br />

FormatGuard, 77<br />

format-string attacks, preventing, 75–78<br />

forward secrecy, 367<br />

public key cryptography, provision<br />

in, 445<br />

symmetric cryptography, provision<br />

in, 444<br />

fread( ), 576<br />

free( ), 93<br />

fstat( ), 24, 54<br />

function errors and security, 700<br />

This is the Title of the Book, eMatter Edition<br />

Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.<br />

G<br />

GCC compilers, 647<br />

generate_and_package_128_bit_secret( ),<br />

344<br />

generating an RSA key pair, 327–329<br />

generating prime numbers, 323–327<br />

generating random passwords and<br />

passphrases, 387–391<br />

generating random symmetric keys, 119<br />

generating symmetric keys from one<br />

secret, 142<br />

GetDistributionPoint( ), 558, 559<br />

getdtablesize( ), 24<br />

getenv( ), 92<br />

environment variables and, 2

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!