/macosx-10.10.1/CPAN-56/Modules/Digest-HMAC-1.03/ |
H A D | Makefile | 1 NAME = Digest-HMAC
|
/macosx-10.10.1/ruby-106/ruby/test/openssl/ |
H A D | test_hmac.rb | 8 @h1 = OpenSSL::HMAC.new(@key, @digest.new) 9 @h2 = OpenSSL::HMAC.new(@key, "MD5") 20 assert_equal(OpenSSL::HMAC.digest(@digest.new, @key, @data), @h1.digest, "digest") 21 assert_equal(OpenSSL::HMAC.hexdigest(@digest.new, @key, @data), @h1.hexdigest, "hexdigest") 23 assert_equal(OpenSSL::HMAC.digest("MD5", @key, @data), @h2.digest, "digest") 24 assert_equal(OpenSSL::HMAC.hexdigest("MD5", @key, @data), @h2.hexdigest, "hexdigest")
|
/macosx-10.10.1/Heimdal-398.1.2/lib/hcrypto/ |
H A D | hmac.h | 48 #define HMAC hc_HMAC macro 79 void * HMAC(const EVP_MD *evp_md, const void *key, size_t key_len,
|
H A D | pkcs5.c | 120 HMAC(md, password, password_len, data, datalen, 125 HMAC(md, password, password_len, tmpcksum, checksumsize,
|
H A D | hmac.c | 149 HMAC(const EVP_MD *md, function
|
/macosx-10.10.1/OpenSSH-189/osslshim/ossl/ |
H A D | ossl-hmac.h | 71 #define HMAC ossl_HMAC macro 101 void *HMAC(const EVP_MD *evp_md, const void *key, size_t key_len,
|
H A D | ossl-hmac.c | 174 HMAC(const EVP_MD *md, function
|
/macosx-10.10.1/OpenSSL098-52/src/crypto/hmac/ |
H A D | hmac.h | 64 #error HMAC is disabled. 99 unsigned char *HMAC(const EVP_MD *evp_md, const void *key, int key_len,
|
H A D | hmactest.c | 68 printf("No HMAC support\n"); 145 p=pt(HMAC(EVP_md5(), 152 printf("error calculating HMAC on %d entry'\n",i);
|
H A D | hmac.c | 157 unsigned char *HMAC(const EVP_MD *evp_md, const void *key, int key_len, function
|
/macosx-10.10.1/OpenSSL098-52/src/include/openssl/ |
H A D | hmac.h | 64 #error HMAC is disabled. 99 unsigned char *HMAC(const EVP_MD *evp_md, const void *key, int key_len,
|
/macosx-10.10.1/ruby-106/ruby/ext/digest/lib/digest/ |
H A D | hmac.rb | 13 warn "use of the experimetal library 'digest/hmac' is discouraged; require 'openssl' and use OpenSSL::HMAC instead." if $VERBOSE 20 # An experimental implementation of HMAC keyed-hashing algorithm 26 # 1.9 series without being noticed. Please use OpenSSL::HMAC in the 34 # puts Digest::HMAC.hexdigest("data", "hash key", Digest::SHA1) 37 # hmac = Digest::HMAC.new("foo", Digest::RMD160) 46 class HMAC < Digest::Class class in class:Digest 48 # Creates a Digest::HMAC instance. 144 assert_equal(h[:hexdigest], Digest::HMAC.hexdigest(h[:data], h[:key], d)) 152 hmac = Digest::HMAC.new(h[:key], d) 164 hmac = Digest::HMAC [all...] |
/macosx-10.10.1/ruby-106/ruby/ext/openssl/ |
H A D | ossl_hmac.c | 20 ossl_raise(rb_eRuntimeError, "HMAC wasn't initialized"); \ 63 * HMAC.new(key, digest) -> hmac 190 * HMAC.digest(digest, key, data) -> aString 201 buf = HMAC(GetDigestPtr(digest), RSTRING_PTR(key), RSTRING_LENINT(key), 209 * HMAC.digest(digest, key, data) -> aString 223 buf = HMAC(GetDigestPtr(digest), RSTRING_PTR(key), RSTRING_LENINT(key), 245 cHMAC = rb_define_class_under(mOSSL, "HMAC", rb_cObject); 264 # warning >>> OpenSSL is compiled without HMAC support <<< 268 rb_warning("HMAC will NOT be avaible: OpenSSL is compiled without HMAC [all...] |
/macosx-10.10.1/OpenSSL098-52/src/fips/hmac/ |
H A D | Makefile | 69 if [ -f $(Q)/HMAC.req ]; then $(TOP)/util/shlib_wrap.sh $(TOP)/test/fips_hmactest < $(Q)/HMAC.req > $(A)/HMAC.rsp; fi
|
H A D | fips_hmac.c | 87 "HMAC: digest not allowed in FIPS mode"); 167 unsigned char *HMAC(const EVP_MD *evp_md, const void *key, int key_len, function
|
H A D | fips_hmac_selftest.c | 123 HMAC(md,t->key,strlen(t->key),
|
H A D | fips_hmactest.c | 74 printf("No FIPS HMAC support\n"); 310 if (!HMAC(emd, Key, Klen, Msg, Msglen, md, 313 fputs("Error calculating HMAC\n", stderr); 318 fputs("Parameter error, Tlen > HMAC length\n", stderr);
|
/macosx-10.10.1/OpenSSL098-52/src/test/ |
H A D | hmactest.c | 68 printf("No HMAC support\n"); 145 p=pt(HMAC(EVP_md5(), 152 printf("error calculating HMAC on %d entry'\n",i);
|
H A D | fips_test_suite.c | 251 /* HMAC-SHA1: generate hash of known digest value and compare to known 266 if (!HMAC(EVP_sha1(),key,sizeof(key)-1,iv,sizeof(iv)-1,out,&outlen)) return 0; 272 /* HMAC-SHA224: generate hash of known digest value and compare to known 287 if (!HMAC(EVP_sha224(),key,sizeof(key)-1,iv,sizeof(iv)-1,out,&outlen)) return 0; 293 /* HMAC-SHA256: generate hash of known digest value and compare to known 308 if (!HMAC(EVP_sha256(),key,sizeof(key)-1,iv,sizeof(iv)-1,out,&outlen)) return 0; 314 /* HMAC-SHA384: generate hash of known digest value and compare to known 330 if (!HMAC(EVP_sha384(),key,sizeof(key)-1,iv,sizeof(iv)-1,out,&outlen)) return 0; 336 /* HMAC-SHA512: generate hash of known digest value and compare to known 353 if (!HMAC(EVP_sha51 [all...] |
H A D | fips_hmactest.c | 74 printf("No FIPS HMAC support\n"); 310 if (!HMAC(emd, Key, Klen, Msg, Msglen, md, 313 fputs("Error calculating HMAC\n", stderr); 318 fputs("Parameter error, Tlen > HMAC length\n", stderr);
|
/macosx-10.10.1/OpenSSL098-52/src/fips/ |
H A D | install.com | 37 $ FDIRS := ,RAND,SHA,DES,AES,DSA,RSA,DH,HMAC
|
H A D | fips_test_suite.c | 251 /* HMAC-SHA1: generate hash of known digest value and compare to known 266 if (!HMAC(EVP_sha1(),key,sizeof(key)-1,iv,sizeof(iv)-1,out,&outlen)) return 0; 272 /* HMAC-SHA224: generate hash of known digest value and compare to known 287 if (!HMAC(EVP_sha224(),key,sizeof(key)-1,iv,sizeof(iv)-1,out,&outlen)) return 0; 293 /* HMAC-SHA256: generate hash of known digest value and compare to known 308 if (!HMAC(EVP_sha256(),key,sizeof(key)-1,iv,sizeof(iv)-1,out,&outlen)) return 0; 314 /* HMAC-SHA384: generate hash of known digest value and compare to known 330 if (!HMAC(EVP_sha384(),key,sizeof(key)-1,iv,sizeof(iv)-1,out,&outlen)) return 0; 336 /* HMAC-SHA512: generate hash of known digest value and compare to known 353 if (!HMAC(EVP_sha51 [all...] |
/macosx-10.10.1/OpenSSL098-52/src/apps/ |
H A D | s_cb.c | 640 extname = "truncated HMAC"; 710 /* Calculate HMAC of buffer using the secret */ 711 HMAC(EVP_sha1(), cookie_secret, COOKIE_SECRET_LENGTH, 748 /* Calculate HMAC of buffer using the secret */ 749 HMAC(EVP_sha1(), cookie_secret, COOKIE_SECRET_LENGTH,
|
/macosx-10.10.1/OpenSSL098-52/src/crypto/evp/ |
H A D | p5_crpt2.c | 74 * derivation function PBKDF2 using the only currently defined function HMAC 109 HMAC(EVP_sha1(), pass, passlen,
|
/macosx-10.10.1/Security-57031.1.35/SecurityTests/cspxutils/ccHmacCompat/ |
H A D | ccHmacCompat.c | 2 * ccHmacCompat.c - test compatibilty of CommonCrypto's HMAC implementation with 16 /* SHA2-based HMAC testing disabled until openssl provides it */ 74 * Test harness for CCCryptor/HMAC with lots of options. 112 * Produce HMAC with reference implementation (currently, openssl) 148 HMAC(md, keyBytes, (int)keyLen,
|