Home
last modified time | relevance | path

Searched refs:mbedtls_blowfish_context (Results 1 – 4 of 4) sorted by relevance

/optee_os-3.20.0/lib/libmbedtls/mbedtls/include/mbedtls/
A Dblowfish.h68 typedef struct mbedtls_blowfish_context struct
73 mbedtls_blowfish_context; typedef
85 void mbedtls_blowfish_init( mbedtls_blowfish_context *ctx );
95 void mbedtls_blowfish_free( mbedtls_blowfish_context *ctx );
109 int mbedtls_blowfish_setkey( mbedtls_blowfish_context *ctx, const unsigned char *key,
128 int mbedtls_blowfish_crypt_ecb( mbedtls_blowfish_context *ctx,
162 int mbedtls_blowfish_crypt_cbc( mbedtls_blowfish_context *ctx,
202 int mbedtls_blowfish_crypt_cfb64( mbedtls_blowfish_context *ctx,
275 int mbedtls_blowfish_crypt_ctr( mbedtls_blowfish_context *ctx,
A Dcompat-1.3.h1771 #define blowfish_context mbedtls_blowfish_context
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/
A Dblowfish.c54 static uint32_t F( mbedtls_blowfish_context *ctx, uint32_t x ) in F()
73 static void blowfish_enc( mbedtls_blowfish_context *ctx, uint32_t *xl, uint32_t *xr ) in blowfish_enc()
131 void mbedtls_blowfish_init( mbedtls_blowfish_context *ctx ) in mbedtls_blowfish_init()
134 memset( ctx, 0, sizeof( mbedtls_blowfish_context ) ); in mbedtls_blowfish_init()
137 void mbedtls_blowfish_free( mbedtls_blowfish_context *ctx ) in mbedtls_blowfish_free()
142 mbedtls_platform_zeroize( ctx, sizeof( mbedtls_blowfish_context ) ); in mbedtls_blowfish_free()
148 int mbedtls_blowfish_setkey( mbedtls_blowfish_context *ctx, in mbedtls_blowfish_setkey()
210 int mbedtls_blowfish_crypt_ecb( mbedtls_blowfish_context *ctx, in mbedtls_blowfish_crypt_ecb()
244 int mbedtls_blowfish_crypt_cbc( mbedtls_blowfish_context *ctx, in mbedtls_blowfish_crypt_cbc()
304 int mbedtls_blowfish_crypt_cfb64( mbedtls_blowfish_context *ctx, in mbedtls_blowfish_crypt_cfb64()
[all …]
A Dcipher_wrap.c1723 return mbedtls_blowfish_crypt_ecb( (mbedtls_blowfish_context *) ctx, operation, input, in blowfish_crypt_ecb_wrap()
1732 return mbedtls_blowfish_crypt_cbc( (mbedtls_blowfish_context *) ctx, operation, length, iv, in blowfish_crypt_cbc_wrap()
1742 return mbedtls_blowfish_crypt_cfb64( (mbedtls_blowfish_context *) ctx, operation, length, in blowfish_crypt_cfb64_wrap()
1752 return mbedtls_blowfish_crypt_ctr( (mbedtls_blowfish_context *) ctx, length, nc_off, in blowfish_crypt_ctr_wrap()
1760 return mbedtls_blowfish_setkey( (mbedtls_blowfish_context *) ctx, key, key_bitlen ); in blowfish_setkey_wrap()
1765 mbedtls_blowfish_context *ctx; in blowfish_ctx_alloc()
1766 ctx = mbedtls_calloc( 1, sizeof( mbedtls_blowfish_context ) ); in blowfish_ctx_alloc()
1778 memcpy( dst, src, sizeof( mbedtls_blowfish_context ) ); in blowfish_ctx_clone()
1783 mbedtls_blowfish_free( (mbedtls_blowfish_context *) ctx ); in blowfish_ctx_free()

Completed in 37 milliseconds