Home
last modified time | relevance | path

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

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/pae/
Dieee802_1x_key.c41 int lab_len, ctx_len, ret_len, buf_len; in aes_kdf() local
48 ctx_len = (ctx_bits + 7) / 8; in aes_kdf()
50 buf_len = lab_len + ctx_len + 4; in aes_kdf()
63 os_memcpy(buf + lab_len + 2, context, ctx_len); in aes_kdf()
114 size_t ctx_len = sid_bytes + ETH_ALEN * 2; in ieee802_1x_ckn_aes_cmac() local
116 context = os_zalloc(ctx_len); in ieee802_1x_ckn_aes_cmac()
125 context, ctx_len * 8, 128, ckn); in ieee802_1x_ckn_aes_cmac()
Dieee802_1x_kay.c2120 int ctx_len, ctx_offset; in ieee802_1x_kay_generate_new_sak() local
2159 ctx_len = key_len + sizeof(kay->dist_kn); in ieee802_1x_kay_generate_new_sak()
2162 ctx_len += sizeof(peer->mi); in ieee802_1x_kay_generate_new_sak()
2163 ctx_len += sizeof(participant->mi); in ieee802_1x_kay_generate_new_sak()
2165 context = os_zalloc(ctx_len); in ieee802_1x_kay_generate_new_sak()
2187 context, ctx_len, in ieee802_1x_kay_generate_new_sak()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/pae/
Dieee802_1x_key.c41 int lab_len, ctx_len, ret_len, buf_len; in aes_kdf() local
48 ctx_len = (ctx_bits + 7) / 8; in aes_kdf()
50 buf_len = lab_len + ctx_len + 4; in aes_kdf()
63 os_memcpy(buf + lab_len + 2, context, ctx_len); in aes_kdf()
114 size_t ctx_len = sid_bytes + ETH_ALEN * 2; in ieee802_1x_ckn_aes_cmac() local
116 context = os_zalloc(ctx_len); in ieee802_1x_ckn_aes_cmac()
125 context, ctx_len * 8, 128, ckn); in ieee802_1x_ckn_aes_cmac()
Dieee802_1x_kay.c2083 int ctx_len, ctx_offset; in ieee802_1x_kay_generate_new_sak() local
2122 ctx_len = key_len + sizeof(kay->dist_kn); in ieee802_1x_kay_generate_new_sak()
2125 ctx_len += sizeof(peer->mi); in ieee802_1x_kay_generate_new_sak()
2126 ctx_len += sizeof(participant->mi); in ieee802_1x_kay_generate_new_sak()
2128 context = os_zalloc(ctx_len); in ieee802_1x_kay_generate_new_sak()
2150 context, ctx_len, in ieee802_1x_kay_generate_new_sak()
/third_party/mbedtls/library/
Dssl_tls13_keys.c107 const unsigned char *ctx, size_t ctx_len, in ssl_tls13_hkdf_encode_label() argument
113 SSL_TLS1_3_KEY_SCHEDULE_HKDF_LABEL_LEN(total_label_len, ctx_len); in ssl_tls13_hkdf_encode_label()
136 *p++ = MBEDTLS_BYTE_0(ctx_len); in ssl_tls13_hkdf_encode_label()
137 if (ctx_len != 0) { in ssl_tls13_hkdf_encode_label()
138 memcpy(p, ctx, ctx_len); in ssl_tls13_hkdf_encode_label()
149 const unsigned char *ctx, size_t ctx_len, in mbedtls_ssl_tls13_hkdf_expand_label() argument
166 if (ctx_len > MBEDTLS_SSL_TLS1_3_KEY_SCHEDULE_MAX_CONTEXT_LEN) { in mbedtls_ssl_tls13_hkdf_expand_label()
182 ctx, ctx_len, in mbedtls_ssl_tls13_hkdf_expand_label()
304 const unsigned char *ctx, size_t ctx_len, in mbedtls_ssl_tls13_derive_secret() argument
313 status = psa_hash_compute(hash_alg, ctx, ctx_len, hashed_context, in mbedtls_ssl_tls13_derive_secret()
[all …]
Dssl_tls13_keys.h127 const unsigned char *ctx, size_t ctx_len,
213 const unsigned char *ctx, size_t ctx_len,
/third_party/openssl/apps/
Dsess_id.c112 size_t ctx_len = strlen(context); in sess_id_main() local
113 if (ctx_len > SSL_MAX_SID_CTX_LENGTH) { in sess_id_main()
118 ctx_len)) { in sess_id_main()
/third_party/node/deps/openssl/openssl/apps/
Dsess_id.c112 size_t ctx_len = strlen(context); in sess_id_main() local
113 if (ctx_len > SSL_MAX_SID_CTX_LENGTH) { in sess_id_main()
118 ctx_len)) { in sess_id_main()
/third_party/ltp/tools/sparse/sparse-src/
Dsemind.c602 int ctx_len; member
617 sqlite_bind_text(insert_rec_stmt, "@context", rec->context, rec->ctx_len); in insert_record()
728 rec.ctx_len = ctx->len; in r_symbol()
767 rec.ctx_len = ctx->len; in r_member()
/third_party/libbpf/.github/actions/build-selftests/
Dvmlinux.h69150 __u16 ctx_len; member
87852 __u16 ctx_len; member
/third_party/libabigail/tests/data/test-diff-filter/
Dtest-PR27569-v1.abi21050 …<var-decl name="ctx_len" type-id="d315442e" visibility="default" filepath="include/uapi/linux/xfrm…
55015 …<var-decl name="ctx_len" type-id="d315442e" visibility="default" filepath="include/uapi/linux/xfrm…
Dtest-PR27569-v0.abi21042 …<var-decl name="ctx_len" type-id="d315442e" visibility="default" filepath="include/uapi/linux/xfrm…
54986 …<var-decl name="ctx_len" type-id="d315442e" visibility="default" filepath="include/uapi/linux/xfrm…