Lines Matching defs:ctx

66 static size_t rsa_get_bitlen( const void *ctx )  in rsa_get_bitlen()
71 static int rsa_verify_wrap( void *ctx, mbedtls_md_type_t md_alg, in rsa_verify_wrap()
91 static int rsa_sign_wrap( void *ctx, mbedtls_md_type_t md_alg, in rsa_sign_wrap()
102 static int rsa_decrypt_wrap( void *ctx, in rsa_decrypt_wrap()
114 static int rsa_encrypt_wrap( void *ctx, in rsa_encrypt_wrap()
136 void *ctx = mbedtls_calloc( 1, sizeof( mbedtls_rsa_context ) ); in rsa_alloc_wrap() local
144 static void rsa_free_wrap( void *ctx ) in rsa_free_wrap()
150 static void rsa_debug( const void *ctx, mbedtls_pk_debug_item *items ) in rsa_debug()
190 static size_t eckey_get_bitlen( const void *ctx ) in eckey_get_bitlen()
206 static int eckey_verify_wrap( void *ctx, mbedtls_md_type_t md_alg, in eckey_verify_wrap()
223 static int eckey_sign_wrap( void *ctx, mbedtls_md_type_t md_alg, in eckey_sign_wrap()
252 void *ctx = mbedtls_calloc( 1, sizeof( mbedtls_ecp_keypair ) ); in eckey_alloc_wrap() local
260 static void eckey_free_wrap( void *ctx ) in eckey_free_wrap()
266 static void eckey_debug( const void *ctx, mbedtls_pk_debug_item *items ) in eckey_debug()
324 static int ecdsa_verify_wrap( void *ctx, mbedtls_md_type_t md_alg, in ecdsa_verify_wrap()
340 static int ecdsa_sign_wrap( void *ctx, mbedtls_md_type_t md_alg, in ecdsa_sign_wrap()
351 void *ctx = mbedtls_calloc( 1, sizeof( mbedtls_ecdsa_context ) ); in ecdsa_alloc_wrap() local
359 static void ecdsa_free_wrap( void *ctx ) in ecdsa_free_wrap()
391 static size_t rsa_alt_get_bitlen( const void *ctx ) in rsa_alt_get_bitlen()
398 static int rsa_alt_sign_wrap( void *ctx, mbedtls_md_type_t md_alg, in rsa_alt_sign_wrap()
411 static int rsa_alt_decrypt_wrap( void *ctx, in rsa_alt_decrypt_wrap()
460 void *ctx = mbedtls_calloc( 1, sizeof( mbedtls_rsa_alt_context ) ); in rsa_alt_alloc_wrap() local
468 static void rsa_alt_free_wrap( void *ctx ) in rsa_alt_free_wrap()