Lines Matching refs:salt
56 mbedtls_asn1_buf *salt, int *iterations ) in pkcs12_parse_pbe_params() argument
73 if( ( ret = mbedtls_asn1_get_tag( p, end, &salt->len, MBEDTLS_ASN1_OCTET_STRING ) ) != 0 ) in pkcs12_parse_pbe_params()
76 salt->p = *p; in pkcs12_parse_pbe_params()
77 *p += salt->len; in pkcs12_parse_pbe_params()
97 mbedtls_asn1_buf salt; in pkcs12_pbe_derive_key_iv() local
104 memset( &salt, 0, sizeof(mbedtls_asn1_buf) ); in pkcs12_pbe_derive_key_iv()
107 if( ( ret = pkcs12_parse_pbe_params( pbe_params, &salt, in pkcs12_pbe_derive_key_iv()
115 salt.p, salt.len, md_type, in pkcs12_pbe_derive_key_iv()
125 salt.p, salt.len, md_type, in pkcs12_pbe_derive_key_iv()
250 const unsigned char *salt, size_t saltlen, in mbedtls_pkcs12_derivation() argument
288 pkcs12_fill_buffer( salt_block, v, salt, saltlen ); in mbedtls_pkcs12_derivation()