Searched refs:hmac_key (Results 1 - 11 of 11) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/crypto/evp/
H A De_rc4_hmac_md5.c235 unsigned char hmac_key[64]; local
237 memset(hmac_key, 0, sizeof(hmac_key));
239 if (arg > (int)sizeof(hmac_key)) {
242 MD5_Final(hmac_key, &key->head);
244 memcpy(hmac_key, ptr, arg);
247 for (i = 0; i < sizeof(hmac_key); i++)
248 hmac_key[i] ^= 0x36; /* ipad */
250 MD5_Update(&key->head, hmac_key, sizeof(hmac_key));
[all...]
H A De_aes_cbc_hmac_sha1.c822 unsigned char hmac_key[64]; local
824 memset(hmac_key, 0, sizeof(hmac_key));
826 if (arg > (int)sizeof(hmac_key)) {
829 SHA1_Final(hmac_key, &key->head);
831 memcpy(hmac_key, ptr, arg);
834 for (i = 0; i < sizeof(hmac_key); i++)
835 hmac_key[i] ^= 0x36; /* ipad */
837 SHA1_Update(&key->head, hmac_key, sizeof(hmac_key));
[all...]
H A De_aes_cbc_hmac_sha256.c799 unsigned char hmac_key[64]; local
801 memset(hmac_key, 0, sizeof(hmac_key));
803 if (arg > (int)sizeof(hmac_key)) {
806 SHA256_Final(hmac_key, &key->head);
808 memcpy(hmac_key, ptr, arg);
811 for (i = 0; i < sizeof(hmac_key); i++)
812 hmac_key[i] ^= 0x36; /* ipad */
814 SHA256_Update(&key->head, hmac_key, sizeof(hmac_key));
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/crypto/evp/
H A De_rc4_hmac_md5.c235 unsigned char hmac_key[64]; local
237 memset(hmac_key, 0, sizeof(hmac_key));
239 if (arg > (int)sizeof(hmac_key)) {
242 MD5_Final(hmac_key, &key->head);
244 memcpy(hmac_key, ptr, arg);
247 for (i = 0; i < sizeof(hmac_key); i++)
248 hmac_key[i] ^= 0x36; /* ipad */
250 MD5_Update(&key->head, hmac_key, sizeof(hmac_key));
[all...]
H A De_aes_cbc_hmac_sha1.c822 unsigned char hmac_key[64]; local
824 memset(hmac_key, 0, sizeof(hmac_key));
826 if (arg > (int)sizeof(hmac_key)) {
829 SHA1_Final(hmac_key, &key->head);
831 memcpy(hmac_key, ptr, arg);
834 for (i = 0; i < sizeof(hmac_key); i++)
835 hmac_key[i] ^= 0x36; /* ipad */
837 SHA1_Update(&key->head, hmac_key, sizeof(hmac_key));
[all...]
H A De_aes_cbc_hmac_sha256.c799 unsigned char hmac_key[64]; local
801 memset(hmac_key, 0, sizeof(hmac_key));
803 if (arg > (int)sizeof(hmac_key)) {
806 SHA256_Final(hmac_key, &key->head);
808 memcpy(hmac_key, ptr, arg);
811 for (i = 0; i < sizeof(hmac_key); i++)
812 hmac_key[i] ^= 0x36; /* ipad */
814 SHA256_Update(&key->head, hmac_key, sizeof(hmac_key));
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/gsoap/source/gsoap/samples/wsse/
H A Dwssedemo.c98 static char hmac_key[16] = /* Not-so-random HMAC key for testing */ variable
191 soap_wsse_verify_auto(soap, SOAP_SMD_HMAC_SHA1, hmac_key, sizeof(hmac_key));
208 soap_wsse_verify_auto(soap, SOAP_SMD_HMAC_SHA1, hmac_key, sizeof(hmac_key));
238 soap_wsse_sign(soap, SOAP_SMD_HMAC_SHA1, hmac_key, sizeof(hmac_key));
240 soap_wsse_sign_body(soap, SOAP_SMD_HMAC_SHA1, hmac_key, sizeof(hmac_key));
256 soap_wsse_verify_auto(soap, SOAP_SMD_HMAC_SHA1, hmac_key, sizeo
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/gsoap/source_build_platform/gsoap/samples/wsse/
H A Dwssedemo.c98 static char hmac_key[16] = /* Not-so-random HMAC key for testing */ variable
191 soap_wsse_verify_auto(soap, SOAP_SMD_HMAC_SHA1, hmac_key, sizeof(hmac_key));
208 soap_wsse_verify_auto(soap, SOAP_SMD_HMAC_SHA1, hmac_key, sizeof(hmac_key));
238 soap_wsse_sign(soap, SOAP_SMD_HMAC_SHA1, hmac_key, sizeof(hmac_key));
240 soap_wsse_sign_body(soap, SOAP_SMD_HMAC_SHA1, hmac_key, sizeof(hmac_key));
256 soap_wsse_verify_auto(soap, SOAP_SMD_HMAC_SHA1, hmac_key, sizeo
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/apps/
H A Ddgst.c79 const char *file,BIO *bmd,const char *hmac_key);
108 char *hmac_key=NULL; local
197 hmac_key=*++argv;
369 siglen,"","(stdin)",bmd,hmac_key);
387 size_t len = strlen(name)+strlen(argv[i])+(hmac_key ? 5 : 0)+5;
390 hmac_key ? "HMAC-" : "",name,argv[i]);
395 siglen,tmp,argv[i],bmd,hmac_key);
422 const char *file,BIO *bmd,const char *hmac_key)
429 if (hmac_key)
435 HMAC_Init_ex(&hmac_ctx,hmac_key,strle
420 do_fp(BIO *out, unsigned char *buf, BIO *bp, int sep, int binout, EVP_PKEY *key, unsigned char *sigin, int siglen, const char *title, const char *file,BIO *bmd,const char *hmac_key) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/apps/
H A Ddgst.c129 char *hmac_key = NULL; local
213 hmac_key = "etaonrishdlcupfm";
219 hmac_key = *++argv;
343 if ((! !mac_name + ! !keyfile + ! !hmac_key) > 1) {
399 if (hmac_key) {
401 (unsigned char *)hmac_key, -1);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/apps/
H A Ddgst.c129 char *hmac_key = NULL; local
213 hmac_key = "etaonrishdlcupfm";
219 hmac_key = *++argv;
343 if ((! !mac_name + ! !keyfile + ! !hmac_key) > 1) {
399 if (hmac_key) {
401 (unsigned char *)hmac_key, -1);

Completed in 59 milliseconds