HomeSort by: relevance | last modified time | path
    Searched defs:aes_key (Results 1 - 8 of 8) sorted by relevancy

  /src/crypto/external/bsd/heimdal/dist/lib/hcrypto/
aes.h 59 typedef struct aes_key { struct
62 } AES_KEY;
68 int AES_set_encrypt_key(const unsigned char *, const int, AES_KEY *);
69 int AES_set_decrypt_key(const unsigned char *, const int, AES_KEY *);
71 void AES_encrypt(const unsigned char *, unsigned char *, const AES_KEY *);
72 void AES_decrypt(const unsigned char *, unsigned char *, const AES_KEY *);
75 unsigned long, const AES_KEY *,
78 unsigned long, const AES_KEY *,
aes.h 59 typedef struct aes_key { struct
62 } AES_KEY;
68 int AES_set_encrypt_key(const unsigned char *, const int, AES_KEY *);
69 int AES_set_decrypt_key(const unsigned char *, const int, AES_KEY *);
71 void AES_encrypt(const unsigned char *, unsigned char *, const AES_KEY *);
72 void AES_decrypt(const unsigned char *, unsigned char *, const AES_KEY *);
75 unsigned long, const AES_KEY *,
78 unsigned long, const AES_KEY *,
  /src/tests/crypto/opencrypto/
h_ioctl.c 45 unsigned char aes_key[AES_KEY_LEN] = variable
109 cs->key = __UNCONST(&aes_key);
196 cs.key = __UNCONST(&aes_key);
297 cs.key = __UNCONST(&aes_key);
h_ioctl.c 45 unsigned char aes_key[AES_KEY_LEN] = variable
109 cs->key = __UNCONST(&aes_key);
196 cs.key = __UNCONST(&aes_key);
297 cs.key = __UNCONST(&aes_key);
  /src/crypto/external/apache2/openssl/dist/test/
evp_skey_test.c 120 unsigned char aes_key[KEY_SIZE], aes_iv[IV_SIZE]; local
139 memset(aes_key, 1, KEY_SIZE);
148 skey = EVP_SKEY_import_raw_key(libctx, "AES-128", aes_key, KEY_SIZE, NULL);
153 || !TEST_mem_eq(aes_key, KEY_SIZE, export_key, export_length))
169 if (!TEST_int_gt(EVP_CipherInit_ex2(ctx, aes_cbc, aes_key, aes_iv, 1, NULL), 0)
evp_skey_test.c 120 unsigned char aes_key[KEY_SIZE], aes_iv[IV_SIZE]; local
139 memset(aes_key, 1, KEY_SIZE);
148 skey = EVP_SKEY_import_raw_key(libctx, "AES-128", aes_key, KEY_SIZE, NULL);
153 || !TEST_mem_eq(aes_key, KEY_SIZE, export_key, export_length))
169 if (!TEST_int_gt(EVP_CipherInit_ex2(ctx, aes_cbc, aes_key, aes_iv, 1, NULL), 0)
  /src/external/bsd/unbound/dist/util/
net_help.c 98 unsigned char *aes_key; member in struct:tls_session_ticket_key
1840 keys->aes_key = data + 16;
1884 if (EVP_EncryptInit_ex(evp_sctx, cipher, NULL, ticket_keys->aes_key, iv) != 1) {
1942 if (EVP_DecryptInit_ex(evp_sctx, cipher, NULL, key->aes_key, iv) != 1) {
net_help.c 98 unsigned char *aes_key; member in struct:tls_session_ticket_key
1840 keys->aes_key = data + 16;
1884 if (EVP_EncryptInit_ex(evp_sctx, cipher, NULL, ticket_keys->aes_key, iv) != 1) {
1942 if (EVP_DecryptInit_ex(evp_sctx, cipher, NULL, key->aes_key, iv) != 1) {

Completed in 47 milliseconds