Home
last modified time | relevance | path

Searched defs:key (Results 1 – 25 of 57) sorted by relevance

123

/net-tools-3.6.0/mbedtls-2.4.0/library/
Dcipher_wrap.c151 static int aes_setkey_dec_wrap( void *ctx, const unsigned char *key, in aes_setkey_dec_wrap()
157 static int aes_setkey_enc_wrap( void *ctx, const unsigned char *key, in aes_setkey_enc_wrap()
341 static int gcm_aes_setkey_wrap( void *ctx, const unsigned char *key, in gcm_aes_setkey_wrap()
404 static int ccm_aes_setkey_wrap( void *ctx, const unsigned char *key, in ccm_aes_setkey_wrap()
507 static int camellia_setkey_dec_wrap( void *ctx, const unsigned char *key, in camellia_setkey_dec_wrap()
513 static int camellia_setkey_enc_wrap( void *ctx, const unsigned char *key, in camellia_setkey_enc_wrap()
698 static int gcm_camellia_setkey_wrap( void *ctx, const unsigned char *key, in gcm_camellia_setkey_wrap()
761 static int ccm_camellia_setkey_wrap( void *ctx, const unsigned char *key, in ccm_camellia_setkey_wrap()
859 static int des_setkey_dec_wrap( void *ctx, const unsigned char *key, in des_setkey_dec_wrap()
867 static int des_setkey_enc_wrap( void *ctx, const unsigned char *key, in des_setkey_enc_wrap()
[all …]
Daesni.c275 const unsigned char *key ) in aesni_setkey_enc_128()
325 const unsigned char *key ) in aesni_setkey_enc_192()
382 const unsigned char *key ) in aesni_setkey_enc_256()
448 const unsigned char *key, in mbedtls_aesni_setkey_enc()
Dpkwrite.c131 const mbedtls_pk_context *key ) in mbedtls_pk_write_pubkey()
151 int mbedtls_pk_write_pubkey_der( mbedtls_pk_context *key, unsigned char *buf, size_t size ) in mbedtls_pk_write_pubkey_der()
199 int mbedtls_pk_write_key_der( mbedtls_pk_context *key, unsigned char *buf, size_t size ) in mbedtls_pk_write_key_der()
378 int mbedtls_pk_write_pubkey_pem( mbedtls_pk_context *key, unsigned char *buf, size_t size ) in mbedtls_pk_write_pubkey_pem()
400 int mbedtls_pk_write_key_pem( mbedtls_pk_context *key, unsigned char *buf, size_t size ) in mbedtls_pk_write_key_pem()
Dpkparse.c482 mbedtls_ecp_keypair *key ) in pk_get_ecpubkey()
643 const unsigned char *key, in pk_parse_key_pkcs1_der()
724 const unsigned char *key, in pk_parse_key_sec1_der()
850 const unsigned char* key, in pk_parse_key_pkcs8_unencrypted_der()
939 const unsigned char *key, size_t keylen, in pk_parse_key_pkcs8_encrypted_der()
1060 const unsigned char *key, size_t keylen, in mbedtls_pk_parse_key()
1249 const unsigned char *key, size_t keylen ) in mbedtls_pk_parse_public_key()
Dcmac.c203 const unsigned char *key, size_t keybits ) in mbedtls_cipher_cmac_starts()
390 const unsigned char *key, size_t keylen, in mbedtls_cipher_cmac()
425 int mbedtls_aes_cmac_prf_128( const unsigned char *key, size_t key_length, in mbedtls_aes_cmac_prf_128()
720 const unsigned char* key, in cmac_test_subkeys()
799 const unsigned char* key, in cmac_test_wth_cipher()
Dssl_ticket.c69 mbedtls_ssl_ticket_key *key = ctx->keys + index; in ssl_ticket_gen_key() local
294 mbedtls_ssl_ticket_key *key; in mbedtls_ssl_ticket_write() local
390 mbedtls_ssl_ticket_key *key; in mbedtls_ssl_ticket_parse() local
Dpkcs5.c121 unsigned char key[32], iv[32]; in mbedtls_pkcs5_pbes2() local
356 unsigned char key[64]; in mbedtls_pkcs5_self_test() local
Dpkcs12.c93 unsigned char *key, size_t keylen, in pkcs12_pbe_derive_key_iv()
183 unsigned char key[32]; in mbedtls_pkcs12_pbe() local
Dccm.c70 const unsigned char *key, in mbedtls_ccm_setkey()
362 static const unsigned char key[] = { variable
Dmd.c330 int mbedtls_md_hmac_starts( mbedtls_md_context_t *ctx, const unsigned char *key, size_t keylen ) in mbedtls_md_hmac_starts()
413 int mbedtls_md_hmac( const mbedtls_md_info_t *md_info, const unsigned char *key, size_t keylen, in mbedtls_md_hmac()
Dcamellia.c342 int mbedtls_camellia_setkey_enc( mbedtls_camellia_context *ctx, const unsigned char *key, in mbedtls_camellia_setkey_enc()
447 int mbedtls_camellia_setkey_dec( mbedtls_camellia_context *ctx, const unsigned char *key, in mbedtls_camellia_setkey_dec()
897 unsigned char key[32]; in mbedtls_camellia_self_test() local
Darc4.c71 void mbedtls_arc4_setup( mbedtls_arc4_context *ctx, const unsigned char *key, in mbedtls_arc4_setup()
/net-tools-3.6.0/mbedtls-2.4.0/programs/pkey/
Dkey_app_writer.c106 static int write_public_key( mbedtls_pk_context *key, const char *output_file ) in write_public_key()
148 static int write_private_key( mbedtls_pk_context *key, const char *output_file ) in write_private_key()
193 mbedtls_pk_context key; in main() local
Dgen_key.c148 static int write_private_key( mbedtls_pk_context *key, const char *output_file ) in write_private_key()
190 mbedtls_pk_context key; in main() local
Decdsa.c79 static void dump_pubkey( const char *title, mbedtls_ecdsa_context *key ) in dump_pubkey()
/net-tools-3.6.0/tinydtls-0.8.2/
Dcrypto.c184 const unsigned char *key, size_t keylen, in dtls_p_hash()
249 dtls_prf(const unsigned char *key, size_t keylen, in dtls_prf()
318 dtls_psk_pre_master_secret(unsigned char *key, size_t keylen, in dtls_psk_pre_master_secret()
342 static void dtls_ec_key_to_uint32(const unsigned char *key, size_t key_size, in dtls_ec_key_to_uint32()
352 static void dtls_ec_key_from_uint32(const uint32_t *key, size_t key_size, in dtls_ec_key_from_uint32()
362 int dtls_ec_key_from_uint32_asn1(const uint32_t *key, size_t key_size, in dtls_ec_key_from_uint32_asn1()
527 unsigned char *key, size_t keylen, in dtls_encrypt()
553 unsigned char *key, size_t keylen, in dtls_decrypt()
Dhmac.c83 dtls_hmac_new(const unsigned char *key, size_t klen) { in dtls_hmac_new()
94 dtls_hmac_init(dtls_hmac_context_t *ctx, const unsigned char *key, size_t klen) { in dtls_hmac_init()
Duthash.h326 #define HASH_BER(key,keylen,num_bkts,hashv,bkt) \ argument
338 #define HASH_SAX(key,keylen,num_bkts,hashv,bkt) \ argument
348 #define HASH_FNV(key,keylen,num_bkts,hashv,bkt) \ argument
358 #define HASH_OAT(key,keylen,num_bkts,hashv,bkt) \ argument
387 #define HASH_JEN(key,keylen,num_bkts,hashv,bkt) \ argument
439 #define HASH_SFH(key,keylen,num_bkts,hashv,bkt) \ argument
501 #define HASH_MUR_UNALIGNED(key,keylen,num_bkts,hashv,bkt) \ argument
535 #define HASH_MUR_ALIGNED(key,keylen,num_bkts,hashv,bkt) \ argument
967 void *key; /* ptr to enclosing struct's key */ member
/net-tools-3.6.0/tinydtls-0.8.2/tests/
Dprf-test.c11 unsigned char key[] = { 0x9b, 0xbe, 0x43, 0x6b, 0xa9, 0x40, 0xf0, 0x17, in main() local
Dccm-testdata.c32 unsigned char key[DTLS_CCM_BLOCKSIZE]; member
/net-tools-3.6.0/libcoap/include/coap/
Duthash.h364 #define HASH_BER(key,keylen,num_bkts,hashv,bkt) \ argument
376 #define HASH_SAX(key,keylen,num_bkts,hashv,bkt) \ argument
386 #define HASH_FNV(key,keylen,num_bkts,hashv,bkt) \ argument
398 #define HASH_OAT(key,keylen,num_bkts,hashv,bkt) \ argument
427 #define HASH_JEN(key,keylen,num_bkts,hashv,bkt) \ argument
482 #define HASH_SFH(key,keylen,num_bkts,hashv,bkt) \ argument
568 #define HASH_MUR(key,keylen,num_bkts,hashv,bkt) \ argument
958 void *key; /* ptr to enclosing struct's key */ member
/net-tools-3.6.0/tinydtls-0.8.2/aes/
Drijndael.c1234 rijndael_set_key_enc_only(rijndael_ctx *ctx, const u_char *key, int bits) in rijndael_set_key_enc_only()
1253 rijndael_set_key(rijndael_ctx *ctx, const u_char *key, int bits) in rijndael_set_key()
/net-tools-3.6.0/mbedtls-2.4.0/include/mbedtls/
Dx509_csr.h75 mbedtls_pk_context *key; member
Dpk_internal.h90 void *key; member
/net-tools-3.6.0/mbedtls-2.4.0/programs/aes/
Daescrypt2.c83 unsigned char key[512]; in main() local

123