Searched refs:dlen (Results 1 – 6 of 6) sorted by relevance
/net-tools-3.6.0/mbedtls-2.4.0/include/mbedtls/ |
D | base64.h | 54 int mbedtls_base64_encode( unsigned char *dst, size_t dlen, size_t *olen, 74 int mbedtls_base64_decode( unsigned char *dst, size_t dlen, size_t *olen,
|
/net-tools-3.6.0/mbedtls-2.4.0/library/ |
D | base64.c | 77 int mbedtls_base64_encode( unsigned char *dst, size_t dlen, size_t *olen, in mbedtls_base64_encode() argument 100 if( ( dlen < n + 1 ) || ( NULL == dst ) ) in mbedtls_base64_encode() 144 int mbedtls_base64_decode( unsigned char *dst, size_t dlen, size_t *olen, in mbedtls_base64_decode() argument 198 if( dst == NULL || dlen < n ) in mbedtls_base64_decode()
|
D | rsa.c | 464 static void mgf_mask( unsigned char *dst, size_t dlen, unsigned char *src, in mgf_mask() argument 481 while( dlen > 0 ) in mgf_mask() 484 if( dlen < hlen ) in mgf_mask() 485 use_len = dlen; in mgf_mask() 497 dlen -= use_len; in mgf_mask()
|
D | ssl_tls.c | 222 unsigned char *dstbuf, size_t dlen ) in ssl3_prf() argument 242 for( i = 0; i < dlen / 16; i++ ) in ssl3_prf() 272 unsigned char *dstbuf, size_t dlen ) in tls1_prf() argument 310 for( i = 0; i < dlen; i += 16 ) in tls1_prf() 320 k = ( i + 16 > dlen ) ? dlen % 16 : 16; in tls1_prf() 341 for( i = 0; i < dlen; i += 20 ) in tls1_prf() 351 k = ( i + 20 > dlen ) ? dlen % 20 : 20; in tls1_prf() 371 unsigned char *dstbuf, size_t dlen ) in tls_prf_generic() argument 406 for( i = 0; i < dlen; i += md_len ) in tls_prf_generic() 416 k = ( i + md_len > dlen ) ? dlen % md_len : md_len; in tls_prf_generic() [all …]
|
/net-tools-3.6.0/tinydtls-0.8.2/ |
D | crypto.c | 193 size_t dlen; /* digest length */ in dtls_p_hash() local 205 dlen = dtls_hmac_finalize(hmac_a, A); in dtls_p_hash() 211 while (len + dlen < buflen) { in dtls_p_hash() 215 dtls_hmac_update(hmac_p, A, dlen); in dtls_p_hash() 222 memcpy(buf, tmp, dlen); in dtls_p_hash() 223 buf += dlen; in dtls_p_hash() 227 dtls_hmac_update(hmac_a, A, dlen); in dtls_p_hash() 232 dtls_hmac_update(hmac_p, A, dlen); in dtls_p_hash()
|
/net-tools-3.6.0/mbedtls-2.4.0/tests/suites/ |
D | test_suite_cipher.function | 699 size_t ilen, dlen; 710 TEST_ASSERT( ret == ctx.get_padding( input, ilen, &dlen ) ); 712 TEST_ASSERT( dlen == (size_t) dlen_check );
|