Home
last modified time | relevance | path

Searched refs:sk (Results 1 – 6 of 6) sorted by relevance

/babblesim_ext_libCryptov1-latest/src/
Dblecrypt_unittest.c36 uint8_t *sk) // Session key (KEY_LEN bytes, BIG-ENDIAN) in blecrypt_session_key_calc() argument
46 blecrypt_aes_128(ltk_be, skd_be, sk); in blecrypt_session_key_calc()
57 uint8_t *sk) // session key is big-endian for OpenSSL in test_session_key_calc() argument
62 blecrypt_session_key_calc(skd, ltk, sk); in test_session_key_calc()
65 blecrypt_reverse_byte_order(sk, sk_le, KEY_LEN); in test_session_key_calc()
106 const uint8_t *sk) // session key is big-endian for OpenSSL in test_packet_encryption() argument
121 packet_1st_header_byte, packet_payload_len, unencrypted_packet_payload, sk, ccm_nonce, in test_packet_encryption()
142 const uint8_t *sk, // session key is big-endian for OpenSSL in test_packet_decryption() argument
158 packet_1st_header_byte, packet_payload_len, encrypted_packet_payload_and_mic, sk, ccm_nonce, in test_packet_decryption()
288 uint8_t sk[KEY_LEN]; // sk is big-endian for OpenSSL in main() local
[all …]
Dblecrypt.c45 const uint8_t *sk, // Session key (KEY_LEN bytes, BIG-ENDIAN) in blecrypt_packet_encrypt() argument
55 sk, in blecrypt_packet_encrypt()
67 const uint8_t *sk, // Session key (KEY_LEN bytes, BIG-ENDIAN) in blecrypt_packet_decrypt() argument
78 sk, in blecrypt_packet_decrypt()
109 const uint8_t *sk, in blecrypt_packet_encrypt_v2() argument
128 EVP_EncryptInit_ex(ctx, NULL, NULL, sk, ccm_nonce); in blecrypt_packet_encrypt_v2()
169 const uint8_t *sk, in blecrypt_packet_decrypt_v2() argument
200 EVP_DecryptInit(ctx, NULL, sk, ccm_nonce); in blecrypt_packet_decrypt_v2()
242 const uint8_t *sk, in blecrypt_packet_encrypt_v3() argument
261 EVP_EncryptInit_ex(ctx, NULL, NULL, sk, ccm_nonce); in blecrypt_packet_encrypt_v3()
[all …]
Dblecrypt.h57 const uint8_t *sk, // Session key (KEY_LEN bytes, BIG-ENDIAN)
69 const uint8_t *sk, // Session key (KEY_LEN bytes, BIG-ENDIAN)
79 const uint8_t *sk,
87 const uint8_t *sk,
99 const uint8_t *sk,
110 const uint8_t *sk,
/babblesim_ext_libCryptov1-latest/include/openssl/
Dstack.h74 # define M_sk_num(sk) ((sk) ? (sk)->num:-1) argument
75 # define M_sk_value(sk,n) ((sk) ? (sk)->data[n] : NULL) argument
87 int sk_insert(_STACK *sk, void *data, int where);
97 int (*sk_set_cmp_func(_STACK *sk, int (*c) (const void *, const void *)))
Dbio.h511 # define BIO_set_proxy_header(b,sk) BIO_ctrl(b,BIO_C_SET_PROXY_PARAM,4,(char *)sk) argument
Dcrypto.h293 STACK_OF(void) *sk;