H A D | corecrypto_aes.c | 35 aes_rval aes_encrypt_key(const unsigned char *key, int key_len, aes_encrypt_ctx cx[1]) argument 43 cccbc_init(cbc, cx[0].ctx, key_len, key); 49 unsigned char *out_blk, aes_encrypt_ctx cx[1]) 55 cccbc_update(cbc, cx[0].ctx, ctx_iv, num_blk, in_blk, out_blk); //Actually cbc encrypt. 61 aes_rval aes_encrypt(const unsigned char *in_blk, unsigned char *out_blk, aes_encrypt_ctx cx[1]) argument 63 return aes_encrypt_cbc(in_blk, NULL, 1, out_blk, cx); 66 aes_rval aes_decrypt_key(const unsigned char *key, int key_len, aes_decrypt_ctx cx[1]) argument 74 cccbc_init(cbc, cx[0].ctx, key_len, key); 80 unsigned char *out_blk, aes_decrypt_ctx cx[1]) 86 cccbc_update(cbc, cx[ 48 aes_encrypt_cbc(const unsigned char *in_blk, const unsigned char *in_iv, unsigned int num_blk, unsigned char *out_blk, aes_encrypt_ctx cx[1]) argument 79 aes_decrypt_cbc(const unsigned char *in_blk, const unsigned char *in_iv, unsigned int num_blk, unsigned char *out_blk, aes_decrypt_ctx cx[1]) argument 92 aes_decrypt(const unsigned char *in_blk, unsigned char *out_blk, aes_decrypt_ctx cx[1]) argument 97 aes_encrypt_key128(const unsigned char *key, aes_encrypt_ctx cx[1]) argument 102 aes_decrypt_key128(const unsigned char *key, aes_decrypt_ctx cx[1]) argument 108 aes_encrypt_key256(const unsigned char *key, aes_encrypt_ctx cx[1]) argument 113 aes_decrypt_key256(const unsigned char *key, aes_decrypt_ctx cx[1]) argument [all...] |