HomeSort by relevance Sort by last modified time
    Searched defs:pcr (Results 1 - 25 of 118) sorted by null

1 2 3 4 5

  /external/ltp/testcases/kernel/security/integrity/ima/src/
ima_boot_aggregate.c 35 #define NUM_PCRS 8 /* PCR registers 0-7 in boot aggregate */
40 static void display_sha1_digest(unsigned char *pcr)
45 printf("%02x", *(pcr + i) & 0xff);
55 u_int32_t pcr; member in struct:__anon26673::__anon26674
64 } pcr[NUM_PCRS]; local
76 perror("unable to open pcr file\n");
80 /* Initialize psuedo PCR registers 0 - 7 */
82 memset(&pcr[i].digest, 0, SHA_DIGEST_LENGTH);
87 printf("%03u ", event.header.pcr);
91 SHA1_Update(&c, pcr[event.header.pcr].digest, 20)
    [all...]
ima_measure.c 15 * Calculate the SHA1 aggregate-pcr value based on the IMA runtime
49 u_int32_t pcr; member in struct:event::__anon26676
103 * ima_measurements.c - calculate the SHA1 aggregate-pcr value based
108 * --validate: forces validation of the aggregrate pcr value
109 * for an invalidated PCR. Replace all entries in the
111 * which indicate the PCR was invalidated, either for
115 * pcr value.
125 * template info: list #, PCR-register #, template hash, template name
128 * Ouput: displays the aggregate-pcr value
138 u_int8_t pcr[SHA_DIGEST_LENGTH] local
    [all...]
  /external/vboot_reference/futility/
cmd_pcr.c 18 "This simulates a TPM PCR extension, to determine the expected output\n"
21 "appropriate length. The PCR is extended with each digest in turn\n"
25 " -i Initialize the PCR with the first DIGEST argument\n"
103 uint8_t pcr[SHA256_DIGEST_SIZE]; local
149 memset(pcr, 0, sizeof(pcr));
152 parse_digest_or_die(pcr, digest_size, argv[optind]);
156 printf("PCR: ");
157 print_digest(pcr, digest_size);
161 memcpy(accum, pcr, sizeof(pcr))
    [all...]
  /external/eigen/demos/mandelbrot/
mandelbrot.cpp 54 // pci and pcr denote the real and imaginary parts of c.
61 Packet pcr, pci = pci_start, pzr, pzi = pzi_start, pzr_buf; local
62 for(int i = 0; i < packetSize; i++) pzr[i] = pcr[i] = start.x() + (x+i) * step.x();
78 pzr += pcr; \
  /external/libvncserver/common/
d3des.c 78 unsigned char pc1m[56], pcr[56]; local
93 if( l < 28 ) pcr[j] = pc1m[l];
94 else pcr[j] = pc1m[l - 28];
98 if( l < 56 ) pcr[j] = pc1m[l];
99 else pcr[j] = pc1m[l - 28];
102 if( pcr[pc2[j]] ) kn[m] |= bigbyte[j];
103 if( pcr[pc2[j+24]] ) kn[n] |= bigbyte[j];
  /external/syslinux/core/lwip/src/core/ipv4/
ip_frag.c 642 struct pbuf_custom_ref *pcr = (struct pbuf_custom_ref*)p; local
643 LWIP_ASSERT("pcr != NULL", pcr != NULL);
644 LWIP_ASSERT("pcr == p", (void*)pcr == (void*)p);
645 if (pcr->original != NULL) {
646 pbuf_free(pcr->original);
648 ip_frag_free_pbuf_custom_ref(pcr);
774 struct pbuf_custom_ref *pcr; local
781 pcr = ip_frag_alloc_pbuf_custom_ref()
    [all...]
  /external/tpm2/
PCR.c 12 // The initial value of PCR attributes. The value of these fields should be consistent with PC Client
13 // specification In this implementation, we assume the total number of implemented PCR is 24.
17 // PCR 0 - 15, static RTM
22 {0, 0x0F, 0x1F}, // PCR 16, Debug
23 {0, 0x10, 0x1C}, // PCR 17, Locality 4
24 {0, 0x10, 0x1C}, // PCR 18, Locality 3
25 {0, 0x10, 0x0C}, // PCR 19, Locality 2
26 {0, 0x1C, 0x0E}, // PCR 20, Locality 1
27 {0, 0x1C, 0x04}, // PCR 21, Dynamic OS
28 {0, 0x1C, 0x04}, // PCR 22, Dynamic O
334 static BYTE *pcr = NULL; local
471 UINT32 pcr, j; local
546 UINT32 pcr, j; local
597 UINT32 pcr = handle - PCR_FIRST; local
623 UINT32 pcr = handle - PCR_FIRST; local
676 UINT32 pcr = handle - PCR_FIRST; local
699 UINT32 pcr = handle - PCR_FIRST; local
738 UINT32 pcr; local
785 UINT32 pcr; local
858 UINT32 pcr = handle - PCR_FIRST; local
982 UINT32 pcr = handle - PCR_FIRST; local
1021 UINT32 pcr, i; local
1104 UINT32 pcr; local
    [all...]
  /external/wpa_supplicant_8/src/crypto/
des-internal.c 276 u8 pc1m[56], pcr[56]; local
295 pcr[j] = pc1m[l];
297 pcr[j] = pc1m[l - 28];
302 pcr[j] = pc1m[l];
304 pcr[j] = pc1m[l - 28];
307 if ((int) pcr[(int) pc2[j]] != 0)
309 if ((int) pcr[(int) pc2[j + 24]] != 0)
  /bionic/libc/kernel/uapi/linux/
atm.h 80 int pcr; member in struct:atm_trafprm
  /development/ndk/platforms/android-21/include/linux/
atm.h 95 int pcr; member in struct:atm_trafprm
  /development/ndk/platforms/android-9/include/linux/
atm.h 88 int pcr; member in struct:atm_trafprm
  /external/iproute2/include/linux/
atm.h 133 #define ATM_MAX_PCR -1 /* maximum available PCR */
137 int max_pcr; /* maximum PCR in cells per second */
138 int pcr; /* desired PCR in cells per second */ member in struct:atm_trafprm
139 int min_pcr; /* minimum PCR in cells per second */
  /external/kernel-headers/original/uapi/linux/
atm.h 133 #define ATM_MAX_PCR -1 /* maximum available PCR */
137 int max_pcr; /* maximum PCR in cells per second */
138 int pcr; /* desired PCR in cells per second */ member in struct:atm_trafprm
139 int min_pcr; /* minimum PCR in cells per second */
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/
atm.h 133 #define ATM_MAX_PCR -1 /* maximum available PCR */
137 int max_pcr; /* maximum PCR in cells per second */
138 int pcr; /* desired PCR in cells per second */ member in struct:atm_trafprm
139 int min_pcr; /* minimum PCR in cells per second */
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/
atm.h 133 #define ATM_MAX_PCR -1 /* maximum available PCR */
137 int max_pcr; /* maximum PCR in cells per second */
138 int pcr; /* desired PCR in cells per second */ member in struct:atm_trafprm
139 int min_pcr; /* minimum PCR in cells per second */
  /prebuilts/ndk/r10/platforms/android-12/arch-arm/usr/include/linux/
atm.h 88 int pcr; member in struct:atm_trafprm
  /prebuilts/ndk/r10/platforms/android-12/arch-mips/usr/include/linux/
atm.h 88 int pcr; member in struct:atm_trafprm
  /prebuilts/ndk/r10/platforms/android-12/arch-x86/usr/include/linux/
atm.h 88 int pcr; member in struct:atm_trafprm
  /prebuilts/ndk/r10/platforms/android-13/arch-arm/usr/include/linux/
atm.h 88 int pcr; member in struct:atm_trafprm
  /prebuilts/ndk/r10/platforms/android-13/arch-mips/usr/include/linux/
atm.h 88 int pcr; member in struct:atm_trafprm
  /prebuilts/ndk/r10/platforms/android-13/arch-x86/usr/include/linux/
atm.h 88 int pcr; member in struct:atm_trafprm
  /prebuilts/ndk/r10/platforms/android-14/arch-arm/usr/include/linux/
atm.h 88 int pcr; member in struct:atm_trafprm
  /prebuilts/ndk/r10/platforms/android-14/arch-mips/usr/include/linux/
atm.h 88 int pcr; member in struct:atm_trafprm
  /prebuilts/ndk/r10/platforms/android-14/arch-x86/usr/include/linux/
atm.h 88 int pcr; member in struct:atm_trafprm
  /prebuilts/ndk/r10/platforms/android-15/arch-arm/usr/include/linux/
atm.h 88 int pcr; member in struct:atm_trafprm

Completed in 2464 milliseconds

1 2 3 4 5