Searched refs:mac_key (Results 1 - 14 of 14) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/hmac/
H A Dhmac.c82 __db_chksum(hdr, data, data_len, mac_key, store)
86 u_int8_t *mac_key;
102 if (mac_key == NULL)
110 if (mac_key == NULL) {
117 __db_hmac(mac_key, data, data_len, store);
132 __db_derive_mac(passwd, plen, mac_key)
135 u_int8_t *mac_key;
139 /* Compute the MAC key. mac_key must be 20 bytes. */
144 __db_SHA1Final(mac_key, &ctx);
171 u_int8_t *mac_key, ol local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/libsmb/
H A Dsmb_signing.c33 DATA_BLOB mac_key; member in struct:smb_basic_signing_context
296 MD5Update(&md5_ctx, data->mac_key.data, data->mac_key.length);
302 if (data->mac_key.length < sizeof(key_buf)) {
304 MD5Update(&md5_ctx, key_buf, sizeof(key_buf) - data->mac_key.length);
453 data_blob_free(&data->mac_key);
486 data->mac_key = data_blob(NULL, response.length + user_session_key.length);
488 memcpy(&data->mac_key.data[0], user_session_key.data, user_session_key.length);
494 memcpy(&data->mac_key.data[user_session_key.length],response.data, response.length);
501 dump_data_pw("MAC ssession key is:\n", data->mac_key
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/dbinc/
H A Dcrypto.h45 u_int8_t mac_key[DB_MAC_KEY]; /* MAC key. */ member in struct:__db_cipher
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/cifs/
H A Dcifsencrypt.c45 const struct mac_key *key, char *signature)
92 const struct mac_key *key, char *signature)
159 const struct mac_key *mac_key,
166 if ((cifs_pdu == NULL) || (mac_key == NULL))
195 rc = cifs_calculate_signature(cifs_pdu, mac_key,
212 int cifs_calculate_mac_key(struct mac_key *key, const char *rn,
158 cifs_verify_signature(struct smb_hdr *cifs_pdu, const struct mac_key *mac_key, __u32 expected_sequence_number) argument
H A Dcifsproto.h361 const struct mac_key *mac_key,
363 extern int cifs_calculate_mac_key(struct mac_key *key, const char *rn,
H A Dcifsglob.h100 struct mac_key { struct
185 struct mac_key mac_signing_key;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/crypto/evp/
H A Dpmeth_gn.c204 EVP_PKEY *mac_key = NULL; local
214 if (EVP_PKEY_keygen(mac_ctx, &mac_key) <= 0)
219 return mac_key;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/crypto/evp/
H A Dpmeth_gn.c204 EVP_PKEY *mac_key = NULL; local
214 if (EVP_PKEY_keygen(mac_ctx, &mac_key) <= 0)
219 return mac_key;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/ssl/
H A Dt1_enc.c164 EVP_PKEY *mac_key; local
176 mac_key = EVP_PKEY_new_mac_key(EVP_PKEY_HMAC, NULL, sec, sec_len);
177 if (!mac_key)
179 if (!EVP_DigestSignInit(&ctx_init, NULL, md, NULL, mac_key))
233 EVP_PKEY_free(mac_key);
339 EVP_PKEY *mac_key; local
505 mac_key = EVP_PKEY_new_mac_key(mac_type, NULL,
507 if (mac_key == NULL
508 || EVP_DigestSignInit(mac_ctx, NULL, m, NULL, mac_key) <= 0) {
509 EVP_PKEY_free(mac_key);
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/ssl/
H A Dt1_enc.c164 EVP_PKEY *mac_key; local
176 mac_key = EVP_PKEY_new_mac_key(EVP_PKEY_HMAC, NULL, sec, sec_len);
177 if (!mac_key)
179 if (!EVP_DigestSignInit(&ctx_init, NULL, md, NULL, mac_key))
233 EVP_PKEY_free(mac_key);
339 EVP_PKEY *mac_key; local
505 mac_key = EVP_PKEY_new_mac_key(mac_type, NULL,
507 if (mac_key == NULL
508 || EVP_DigestSignInit(mac_ctx, NULL, m, NULL, mac_key) <= 0) {
509 EVP_PKEY_free(mac_key);
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/log/
H A Dlog_put.c147 key = db_cipher->mac_key;
654 (CRYPTO_ON(env)) ? db_cipher->mac_key : NULL, hdr.chksum);
657 (CRYPTO_ON(env)) ? db_cipher->mac_key : NULL, hdr.chksum);
734 (CRYPTO_ON(env)) ? db_cipher->mac_key : NULL,
738 (CRYPTO_ON(env)) ? db_cipher->mac_key : NULL,
1515 (CRYPTO_ON(env)) ? db_cipher->mac_key : NULL, hdr.chksum);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/db/
H A Ddb_conv.c347 key = db_cipher->mac_key;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/env/
H A Denv_method.c547 (u_int8_t *)dbenv->passwd, dbenv->passwd_len, db_cipher->mac_key);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/txn/
H A Dtxn.c1635 key = db_cipher->mac_key;

Completed in 107 milliseconds