Searched refs:aes_ctr (Results 1 – 1 of 1) sorted by relevance
127 evp_aes_ctr(const char *nid, int key_len, EVP_CIPHER *aes_ctr) in evp_aes_ctr() argument129 memset(aes_ctr, 0, sizeof(EVP_CIPHER)); in evp_aes_ctr()136 if ((aes_ctr->nid = OBJ_ln2nid(nid)) != NID_undef) in evp_aes_ctr()139 aes_ctr->block_size = AES_BLOCK_SIZE; in evp_aes_ctr()140 aes_ctr->iv_len = AES_BLOCK_SIZE; in evp_aes_ctr()141 aes_ctr->key_len = key_len; in evp_aes_ctr()142 aes_ctr->init = ssh_aes_ctr_init; in evp_aes_ctr()143 aes_ctr->cleanup = ssh_aes_ctr_cleanup; in evp_aes_ctr()144 aes_ctr->do_cipher = ssh_aes_ctr; in evp_aes_ctr()145 aes_ctr->flags = EVP_CIPH_CBC_MODE | EVP_CIPH_VARIABLE_LENGTH | in evp_aes_ctr()[all …]