Lines Matching defs:errno
12 int errno;
161 if ((errno = hash_memory(hash_idx,tmpkey,strlen((char *)tmpkey),key,&outlen)) != CRYPT_OK) {
162 printf("Error hashing key: %s\n", error_to_string(errno));
173 if ((errno = ctr_start(cipher_idx,IV,key,ks,0,CTR_COUNTER_LITTLE_ENDIAN,&ctr)) != CRYPT_OK) {
174 printf("ctr_start error: %s\n",error_to_string(errno));
182 if ((errno = ctr_decrypt(inbuf,plaintext,y,&ctr)) != CRYPT_OK) {
183 printf("ctr_decrypt error: %s\n", error_to_string(errno));
198 if ((errno = rng_make_prng(128, find_prng("yarrow"), &prng, NULL)) != CRYPT_OK) {
199 printf("Error setting up PRNG, %s\n", error_to_string(errno));
215 if ((errno = ctr_start(cipher_idx,IV,key,ks,0,CTR_COUNTER_LITTLE_ENDIAN,&ctr)) != CRYPT_OK) {
216 printf("ctr_start error: %s\n",error_to_string(errno));
223 if ((errno = ctr_encrypt(inbuf,ciphertext,y,&ctr)) != CRYPT_OK) {
224 printf("ctr_encrypt error: %s\n", error_to_string(errno));