Lines Matching refs:olen
59 int mbedtls_x25519_make_params( mbedtls_x25519_context *ctx, size_t *olen, in mbedtls_x25519_make_params() argument
71 *olen = MBEDTLS_X25519_KEY_SIZE_BYTES + 4; in mbedtls_x25519_make_params()
72 if( blen < *olen ) in mbedtls_x25519_make_params()
107 size_t olen = 0; in mbedtls_x25519_get_params() local
111 …return mbedtls_ecp_point_write_binary( &key->grp, &key->Q, MBEDTLS_ECP_PF_COMPRESSED, &olen, ctx->… in mbedtls_x25519_get_params()
119 int mbedtls_x25519_calc_secret( mbedtls_x25519_context *ctx, size_t *olen, in mbedtls_x25519_calc_secret() argument
129 *olen = MBEDTLS_X25519_KEY_SIZE_BYTES; in mbedtls_x25519_calc_secret()
131 if( blen < *olen ) in mbedtls_x25519_calc_secret()
145 int mbedtls_x25519_make_public( mbedtls_x25519_context *ctx, size_t *olen, in mbedtls_x25519_make_public() argument
159 *olen = MBEDTLS_X25519_KEY_SIZE_BYTES + 1; in mbedtls_x25519_make_public()
160 if( blen < *olen ) in mbedtls_x25519_make_public()