Lines Matching defs:ret
269 int ret, mode;
275 ret = aesni_set_decrypt_key(key, ctx->key_len * 8, ctx->cipher_data);
280 ret = aesni_set_encrypt_key(key, ctx->key_len * 8, ctx->cipher_data);
290 if (ret < 0) {
549 int ret, mode, bits;
556 ret = 0;
573 ret = -1;
576 ret = 0;
605 ret = -1;
609 if (ret < 0) {
923 int ret, mode;
931 ret = HWAES_set_decrypt_key(key, ctx->key_len * 8, &dat->ks.ks);
942 ret = AES_set_decrypt_key(key, ctx->key_len * 8, &dat->ks.ks);
949 ret = vpaes_set_decrypt_key(key, ctx->key_len * 8, &dat->ks.ks);
956 ret = AES_set_decrypt_key(key, ctx->key_len * 8, &dat->ks.ks);
963 ret = HWAES_set_encrypt_key(key, ctx->key_len * 8, &dat->ks.ks);
981 ret = AES_set_encrypt_key(key, ctx->key_len * 8, &dat->ks.ks);
988 ret = vpaes_set_encrypt_key(key, ctx->key_len * 8, &dat->ks.ks);
995 ret = AES_set_encrypt_key(key, ctx->key_len * 8, &dat->ks.ks);
1005 if (ret < 0) {