• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/openssl/fips/aes/

Lines Matching refs:ptext

337     unsigned char ptext[1001][32];
363 memcpy(ptext[0], text, len);
376 OutputValue(t_tag[dir^1],dir ? ptext[0] : ctext[0],len,rfp,
388 ptext[j], ctext[j], len);
390 memcpy(ptext[j+1], ctext[j], len);
392 memcpy(ctext[j+1], ptext[j], len);
398 EVP_Cipher(&ctx, ctext[j], ptext[j], len);
399 memcpy(ptext[j+1], ctext[j], len);
403 EVP_Cipher(&ctx, ptext[j], ctext[j], len);
404 memcpy(ctext[j+1], ptext[j], len);
416 ptext[j], ctext[j], len);
418 memcpy(ptext[j+1], iv[i], len);
426 EVP_Cipher(&ctx, ctext[j], ptext[j], len);
427 memcpy(ptext[j+1], ctext[j-1], len);
431 EVP_Cipher(&ctx, ptext[j], ctext[j], len);
432 memcpy(ctext[j+1], ptext[j-1], len);
442 ptext[j], ctext[j], len);
447 EVP_Cipher(&ctx, ctext[j], ptext[j], len);
449 EVP_Cipher(&ctx, ptext[j], ctext[j], len);
454 memcpy(ptext[j+1], &iv[i][j], len);
456 memcpy(ptext[j+1], ctext[j-16], len);
463 memcpy(ctext[j+1], ptext[j-16], len);
472 ptext[0][0]<<=7;
474 ptext[j], ctext[j], len);
479 EVP_Cipher(&ctx, ctext[j], ptext[j], len);
481 EVP_Cipher(&ctx, ptext[j], ctext[j], len);
487 sb(ptext[j+1],0,gb(iv[i],j));
489 sb(ptext[j+1],0,gb(ctext[j-128],0));
496 sb(ctext[j+1],0,gb(ptext[j-128],0));
503 OutputValue(t_tag[dir],dir ? ctext[j] : ptext[j],len,rfp,
541 ciphertext[n1] = ptext[j-n2][0];
546 sb(ciphertext,n1,gb(ptext[j-n2],0));
552 memcpy(ciphertext, ptext[j], 16);
555 memcpy(ciphertext, ptext[j-1]+8, 8);
556 memcpy(ciphertext+8, ptext[j], 16);
559 memcpy(ciphertext, ptext[j-1], 16);
560 memcpy(ciphertext+16, ptext[j], 16);
574 memcpy(ptext[0], ctext[j], AES_BLOCK_SIZE);
580 memcpy(ptext[0], ctext[j-1], AES_BLOCK_SIZE);
586 ptext[0][0] = ctext[j-16][0];
591 ptext[0][0]=ctext[j-128][0]&0x80;
600 memcpy(ctext[0], ptext[j], AES_BLOCK_SIZE);
605 memcpy(iv[i+1], ptext[j], AES_BLOCK_SIZE);
606 memcpy(ctext[0], ptext[j-1], AES_BLOCK_SIZE);
610 iv[i+1][n1] = ptext[j-n2][0];
611 ctext[0][0] = ptext[j-16][0];
615 sb(iv[i+1],n1,gb(ptext[j-n2],0));
616 ctext[0][0]=ptext[j-128][0]&0x80;