_id stringlengths 2 7 | title stringclasses 1
value | partition stringclasses 3
values | text stringlengths 6 2.61k | language stringclasses 1
value | meta_information dict |
|---|---|---|---|---|---|
c11500 | train | // Free deallocates the memory reserved for the HSM to write back the actual IV.
//
// This must be called after the entire operation is complete, i.e. after
// Encrypt or EncryptFinal. It is safe to call Free multiple times. | {
"resource": ""
} | ||
c11501 | train | // NewPSSParams creates a CK_RSA_PKCS_PSS_PARAMS structure and returns it as a byte array for use with the CKM_RSA_PKCS_PSS mechanism. | {
"resource": ""
} | ||
c11502 | train | // NewOAEPParams creates a CK_RSA_PKCS_OAEP_PARAMS structure suitable for use with the CKM_RSA_PKCS_OAEP mechanism. | {
"resource": ""
} | ||
c11503 | train | // NewECDH1DeriveParams creates a CK_ECDH1_DERIVE_PARAMS structure suitable for use with the CKM_ECDH1_DERIVE mechanism. | {
"resource": ""
} | ||
c11504 | train | // Initialize initializes the Cryptoki library. | {
"resource": ""
} | ||
c11505 | train | // Finalize indicates that an application is done with the Cryptoki library. | {
"resource": ""
} | ||
c11506 | train | // GetInfo returns general information about Cryptoki. | {
"resource": ""
} | ||
c11507 | train | // GetSlotList obtains a list of slots in the system. | {
"resource": ""
} | ||
c11508 | train | // GetSlotInfo obtains information about a particular slot in the system. | {
"resource": ""
} | ||
c11509 | train | // GetTokenInfo obtains information about a particular token
// in the system. | {
"resource": ""
} | ||
c11510 | train | // GetMechanismList obtains a list of mechanism types supported by a token. | {
"resource": ""
} | ||
c11511 | train | // GetMechanismInfo obtains information about a particular
// mechanism possibly supported by a token. | {
"resource": ""
} | ||
c11512 | train | // InitToken initializes a token. The label must be 32 characters
// long, it is blank padded if it is not. If it is longer it is capped
// to 32 characters. | {
"resource": ""
} | ||
c11513 | train | // InitPIN initializes the normal user's PIN. | {
"resource": ""
} | ||
c11514 | train | // SetPIN modifies the PIN of the user who is logged in. | {
"resource": ""
} | ||
c11515 | train | // CloseAllSessions closes all sessions with a token. | {
"resource": ""
} | ||
c11516 | train | // GetSessionInfo obtains information about the session. | {
"resource": ""
} | ||
c11517 | train | // GetOperationState obtains the state of the cryptographic operation in a session. | {
"resource": ""
} | ||
c11518 | train | // SetOperationState restores the state of the cryptographic operation in a session. | {
"resource": ""
} | ||
c11519 | train | // Login logs a user into a token. | {
"resource": ""
} | ||
c11520 | train | // Logout logs a user out from a token. | {
"resource": ""
} | ||
c11521 | train | // CreateObject creates a new object. | {
"resource": ""
} | ||
c11522 | train | // GetObjectSize gets the size of an object in bytes. | {
"resource": ""
} | ||
c11523 | train | // SetAttributeValue modifies the value of one or more object attributes | {
"resource": ""
} | ||
c11524 | train | // FindObjects continues a search for token and session
// objects that match a template, obtaining additional object
// handles. Calling the function repeatedly may yield additional results until
// an empty slice is returned.
//
// The returned boolean value is deprecated and should be ignored. | {
"resource": ""
} | ||
c11525 | train | // Encrypt encrypts single-part data. | {
"resource": ""
} | ||
c11526 | train | // DecryptFinal finishes a multiple-part decryption operation. | {
"resource": ""
} | ||
c11527 | train | // DigestInit initializes a message-digesting operation. | {
"resource": ""
} | ||
c11528 | train | // DigestUpdate continues a multiple-part message-digesting operation. | {
"resource": ""
} | ||
c11529 | train | // DigestKey continues a multi-part message-digesting
// operation, by digesting the value of a secret key as part of
// the data already digested. | {
"resource": ""
} | ||
c11530 | train | // DigestFinal finishes a multiple-part message-digesting operation. | {
"resource": ""
} | ||
c11531 | train | // SignRecover signs data in a single operation, where the data can be recovered from the signature. | {
"resource": ""
} | ||
c11532 | train | // VerifyUpdate continues a multiple-part verification
// operation, where the signature is an appendix to the data,
// and plaintext cannot be recovered from the signature. | {
"resource": ""
} | ||
c11533 | train | // VerifyFinal finishes a multiple-part verification
// operation, checking the signature. | {
"resource": ""
} | ||
c11534 | train | // VerifyRecover verifies a signature in a single-part
// operation, where the data is recovered from the signature. | {
"resource": ""
} | ||
c11535 | train | // DecryptDigestUpdate continues a multiple-part decryption and digesting operation. | {
"resource": ""
} | ||
c11536 | train | // SignEncryptUpdate continues a multiple-part signing and encryption operation. | {
"resource": ""
} | ||
c11537 | train | // DeriveKey derives a key from a base key, creating a new key object. | {
"resource": ""
} | ||
c11538 | train | // SeedRandom mixes additional seed material into the token's
// random number generator. | {
"resource": ""
} | ||
c11539 | train | // GenerateRandom generates random data. | {
"resource": ""
} | ||
c11540 | train | // Info returns information about the Slot. | {
"resource": ""
} | ||
c11541 | train | // TokenInfo returns information about the token in a Slot, if applicable. | {
"resource": ""
} | ||
c11542 | train | // Mechanisms returns a list of Mechanisms available on the token in this
// slot. | {
"resource": ""
} | ||
c11543 | train | // Info returns information about this mechanism. | {
"resource": ""
} | ||
c11544 | train | // Sign signs the input with a given mechanism. | {
"resource": ""
} | ||
c11545 | train | // Verify verifies a signature over a message with a given mechanism. | {
"resource": ""
} | ||
c11546 | train | // Encrypt encrypts a plaintext with a given mechanism. | {
"resource": ""
} | ||
c11547 | train | // cBBool converts a bool to a CK_BBOOL. | {
"resource": ""
} | ||
c11548 | train | // NewAttribute allocates a Attribute and returns a pointer to it.
// Note that this is merely a convenience function, as values returned
// from the HSM are not converted back to Go values, those are just raw
// byte slices. | {
"resource": ""
} | ||
c11549 | train | // cAttribute returns the start address and the length of an attribute list. | {
"resource": ""
} | ||
c11550 | train | // NewMechanism returns a pointer to an initialized Mechanism. | {
"resource": ""
} | ||
c11551 | train | // Label returns the label of an object. | {
"resource": ""
} | ||
c11552 | train | // Set sets exactly one attribute on this object. | {
"resource": ""
} | ||
c11553 | train | // Copy makes a copy of this object, with the attributes in template applied on
// top of it, if possible. | {
"resource": ""
} | ||
c11554 | train | // Destroy destroys this object. | {
"resource": ""
} | ||
c11555 | train | // Slots returns all available Slots that have a token present. | {
"resource": ""
} | ||
c11556 | train | // Write the supplied directory entry intto the given buffer in the format
// expected in fuseops.ReadFileOp.Data, returning the number of bytes written.
// Return zero if the entry would not fit. | {
"resource": ""
} | ||
c11557 | train | // Convert an absolute cache expiration time to a relative time from now for
// consumption by the fuse kernel module. | {
"resource": ""
} | ||
c11558 | train | // Update attributes from non-nil parameters. | {
"resource": ""
} | ||
c11559 | train | // Init performs the work necessary to cause the mount process to complete. | {
"resource": ""
} | ||
c11560 | train | // Read the next message from the kernel. The message must later be destroyed
// using destroyInMessage. | {
"resource": ""
} | ||
c11561 | train | // Write the supplied message to the kernel. | {
"resource": ""
} | ||
c11562 | train | // Skip errors that happen as a matter of course, since they spook users. | {
"resource": ""
} | ||
c11563 | train | // Make sure that the header and payload are contiguous. | {
"resource": ""
} | ||
c11564 | train | // Reset resets m so that it's ready to be used again. Afterward, the contents
// are solely a zeroed fusekernel.OutHeader struct. | {
"resource": ""
} | ||
c11565 | train | // Grow grows m's buffer by the given number of bytes, returning a pointer to
// the start of the new segment, which is guaranteed to be zeroed. If there is
// insufficient space, it returns nil. | {
"resource": ""
} | ||
c11566 | train | // GrowNoZero is equivalent to Grow, except the new segment is not zeroed. Use
// with caution! | {
"resource": ""
} | ||
c11567 | train | // AppendString is like Append, but accepts string input. | {
"resource": ""
} | ||
c11568 | train | // Bytes returns a reference to the current contents of the buffer, including
// the leading header. | {
"resource": ""
} | ||
c11569 | train | // Initialize with the data read by a single call to r.Read. The first call to
// Consume will consume the bytes directly after the fusekernel.InHeader
// struct. | {
"resource": ""
} | ||
c11570 | train | // Return a reference to the header read in the most recent call to Init. | {
"resource": ""
} | ||
c11571 | train | // Consume the next n bytes from the message, returning a nil pointer if there
// are fewer than n bytes available. | {
"resource": ""
} | ||
c11572 | train | // Equivalent to Consume, except returns a slice of bytes. The result will be
// nil if Consume would fail. | {
"resource": ""
} | ||
c11573 | train | // Decide on the name of the given op. | {
"resource": ""
} | ||
c11574 | train | // Mount attempts to mount a file system on the given directory, using the
// supplied Server to serve connection requests. It blocks until the file
// system is successfully mounted. | {
"resource": ""
} | ||
c11575 | train | // Create a map containing all of the key=value mount options to be given to
// the mount helper. | {
"resource": ""
} | ||
c11576 | train | // Create an options string suitable for passing to the mount helper. | {
"resource": ""
} | ||
c11577 | train | // Get an element from the freelist, returning nil if empty. | {
"resource": ""
} | ||
c11578 | train | // Contribute an element back to the freelist. | {
"resource": ""
} | ||
c11579 | train | // LT returns whether a is less than b. | {
"resource": ""
} | ||
c11580 | train | // GE returns whether a is greater than or equal to b. | {
"resource": ""
} | ||
c11581 | train | // Mount the file system and initialize the other exported fields of the
// struct. Panics on error. | {
"resource": ""
} | ||
c11582 | train | // Implementation detail of getToolPath. | {
"resource": ""
} | ||
c11583 | train | // Build the mount_sample tool if it has not yet been built for this process.
// Return its contents. | {
"resource": ""
} | ||
c11584 | train | // NewLineScanner creates a new line scanner from r | {
"resource": ""
} | ||
c11585 | train | // Scan advances to next line. | {
"resource": ""
} | ||
c11586 | train | // Scan scans the next token. Return true if there's a new one | {
"resource": ""
} | ||
c11587 | train | // hasDatarace checks if there's a data race warning in the line | {
"resource": ""
} | ||
c11588 | train | // numStatus returns the number of tests in status | {
"resource": ""
} | ||
c11589 | train | // HasFailures return true is there's at least one failing suite | {
"resource": ""
} | ||
c11590 | train | // Push adds a node to the stack. | {
"resource": ""
} | ||
c11591 | train | // Pop removes and returns a node from the stack in last to first order. | {
"resource": ""
} | ||
c11592 | train | // NewGtParser return a new gotest parser | {
"resource": ""
} | ||
c11593 | train | // validateArgs validates command line arguments | {
"resource": ""
} | ||
c11594 | train | // getInput return input io.File from file name, if file name is - it will
// return os.Stdin | {
"resource": ""
} | ||
c11595 | train | // getInput return output io.File from file name, if file name is - it will
// return os.Stdout | {
"resource": ""
} | ||
c11596 | train | // getIO returns input and output streams from file names | {
"resource": ""
} | ||
c11597 | train | // calcTotals calculates grand total for all suites | {
"resource": ""
} | ||
c11598 | train | // WriteXML exits xunit XML of tests to out | {
"resource": ""
} | ||
c11599 | train | // Report sends telemetry information to checkpoint | {
"resource": ""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.