Home
last modified time | relevance | path

Searched refs:key_block (Results 1 – 12 of 12) sorted by relevance

/external/chromium/net/third_party/nss/ssl/
Dderive.c105 unsigned char * key_block = pwSpec->key_block; in ssl3_KeyAndMacDeriveBypass() local
180 keyblk.data = key_block; in ssl3_KeyAndMacDeriveBypass()
214 MD5_End(md5Ctx, key_block + made, &outLen, MD5_LENGTH); in ssl3_KeyAndMacDeriveBypass()
221 PORT_Assert(block_bytes <= sizeof pwSpec->key_block); in ssl3_KeyAndMacDeriveBypass()
222 PRINT_BUF(100, (NULL, "key block", key_block, block_bytes)); in ssl3_KeyAndMacDeriveBypass()
227 key_block2 = key_block + block_bytes; in ssl3_KeyAndMacDeriveBypass()
234 buildSSLKey(&key_block[i],macSize, &pwSpec->client.write_mac_key_item, \ in ssl3_KeyAndMacDeriveBypass()
241 buildSSLKey(&key_block[i],macSize, &pwSpec->server.write_mac_key_item, \ in ssl3_KeyAndMacDeriveBypass()
260 buildSSLKey(&key_block[i], keySize, &pwSpec->client.write_key_item, \ in ssl3_KeyAndMacDeriveBypass()
267 buildSSLKey(&key_block[i], keySize, &pwSpec->server.write_key_item, \ in ssl3_KeyAndMacDeriveBypass()
[all …]
Dsslimpl.h562 unsigned char key_block[NUM_MIXERS * MD5_LENGTH]; member
/external/wpa_supplicant/tests/
Dtest_sha1.c50 const u8 key_block[] = { in test_eap_fast() local
130 seed, sizeof(seed), buf, sizeof(key_block)); in test_eap_fast()
131 if (memcmp(key_block, buf, sizeof(key_block)) != 0) { in test_eap_fast()
/external/wpa_supplicant_6/wpa_supplicant/tests/
Dtest_sha1.c50 const u8 key_block[] = { in test_eap_fast() local
141 seed, sizeof(seed), buf, sizeof(key_block)); in test_eap_fast()
142 if (memcmp(key_block, buf, sizeof(key_block)) != 0) { in test_eap_fast()
/external/openssl/ssl/
Ds3_enc.c217 unsigned char *p,*key_block,*mac_secret; in ssl3_change_cipher_state() local
242 key_block=s->s3->tmp.key_block; in ssl3_change_cipher_state()
316 p=s->s3->tmp.key_block; in ssl3_change_cipher_state()
427 s->s3->tmp.key_block=p; in ssl3_setup_key_block()
459 if (s->s3->tmp.key_block != NULL) in ssl3_cleanup_key_block()
461 OPENSSL_cleanse(s->s3->tmp.key_block, in ssl3_cleanup_key_block()
463 OPENSSL_free(s->s3->tmp.key_block); in ssl3_cleanup_key_block()
464 s->s3->tmp.key_block=NULL; in ssl3_cleanup_key_block()
Dt1_enc.c312 unsigned char *p,*key_block,*mac_secret; in tls1_change_cipher_state() local
340 key_block=s->s3->tmp.key_block; in tls1_change_cipher_state()
355 printf("%02x", key_block[i]); printf("\n"); in tls1_change_cipher_state()
443 p=s->s3->tmp.key_block; in tls1_change_cipher_state()
590 s->s3->tmp.key_block=p1; in tls1_setup_key_block()
Dssl3.h505 unsigned char *key_block; member
Ds3_pkt.c1405 if (s->s3->tmp.key_block == NULL) in ssl3_do_change_cipher_spec()
/external/wpa_supplicant_6/wpa_supplicant/src/tls/
Dtlsv1_server.c42 u8 key_block[TLS_MAX_KEY_BLOCK_LEN]; in tlsv1_server_derive_keys() local
69 key_block, key_block_len)) { in tlsv1_server_derive_keys()
74 key_block, key_block_len); in tlsv1_server_derive_keys()
76 pos = key_block; in tlsv1_server_derive_keys()
Dtlsv1_client.c60 u8 key_block[TLS_MAX_KEY_BLOCK_LEN]; in tls_derive_keys() local
87 key_block, key_block_len)) { in tls_derive_keys()
92 key_block, key_block_len); in tls_derive_keys()
94 pos = key_block; in tls_derive_keys()
/external/openssl/include/openssl/
Dssl3.h505 unsigned char *key_block; member
/external/wpa_supplicant/
Dtlsv1_client.c1080 u8 key_block[TLS_MAX_KEY_BLOCK_LEN]; in tls_derive_keys() local
1107 key_block, key_block_len)) { in tls_derive_keys()
1112 key_block, key_block_len); in tls_derive_keys()
1114 pos = key_block; in tls_derive_keys()